From 9f2f42c064e8a7100cee13460a7a3638f468f56a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 22 Jan 2014 22:56:08 +0100 Subject: All PDs: Consistent naming/case for annotation shortnames/IDs. --- decoders/dcf77/pd.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'decoders/dcf77/pd.py') diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index 223a4c0..4c76eeb 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -40,25 +40,25 @@ class Decoder(srd.Decoder): optional_probes = [] options = {} annotations = [ - ['start_of_minute', 'Start of minute'], - ['special_bits', 'Special bits (civil warnings, weather forecast)'], - ['call_bit', 'Call bit'], - ['summer_time', 'Summer time announcement'], + ['start-of-minute', 'Start of minute'], + ['special-bits', 'Special bits (civil warnings, weather forecast)'], + ['call-bit', 'Call bit'], + ['summer-time', 'Summer time announcement'], ['cest', 'CEST bit'], ['cet', 'CET bit'], - ['leap_second', 'Leap second bit'], - ['start_of_time', 'Start of encoded time'], + ['leap-second', 'Leap second bit'], + ['start-of-time', 'Start of encoded time'], ['minute', 'Minute'], - ['minute_parity', 'Minute parity bit'], + ['minute-parity', 'Minute parity bit'], ['hour', 'Hour'], - ['hour_parity', 'Hour parity bit'], + ['hour-parity', 'Hour parity bit'], ['day', 'Day of month'], - ['day_of_week', 'Day of week'], + ['day-of-week', 'Day of week'], ['month', 'Month'], ['year', 'Year'], - ['date_parity', 'Date parity bit'], - ['raw_bits', 'Raw bits'], - ['unknown_bits', 'Unknown bits'], + ['date-parity', 'Date parity bit'], + ['raw-bits', 'Raw bits'], + ['unknown-bits', 'Unknown bits'], ['warnings', 'Human-readable warnings'], ] -- cgit v1.2.3-70-g09d2