diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-11-21 22:43:02 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-11-24 20:21:19 +0100 |
commit | 24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5 (patch) | |
tree | 43d0c24c6a18e824d9d66a390bad9cff3aa081af /decoders/dcf77 | |
parent | 23f999aa996e54cd73cb54d5e254d1445d65847d (diff) | |
download | libsigrokdecode-24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5.tar.gz libsigrokdecode-24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5.zip |
All PDs: Name the files pd.py consistently.
The Python module name is determined by the directory name (e.g. dcf77),
the *.py file names in that directory don't matter and can be kept
consistent.
Diffstat (limited to 'decoders/dcf77')
-rw-r--r-- | decoders/dcf77/Makefile.am | 2 | ||||
-rw-r--r-- | decoders/dcf77/__init__.py | 2 | ||||
-rw-r--r-- | decoders/dcf77/pd.py (renamed from decoders/dcf77/dcf77.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/dcf77/Makefile.am b/decoders/dcf77/Makefile.am index c55f0b7..33ea1c7 100644 --- a/decoders/dcf77/Makefile.am +++ b/decoders/dcf77/Makefile.am @@ -20,7 +20,7 @@ pkgdatadir = $(DECODERS_DIR)/dcf77 -dist_pkgdata_DATA = __init__.py dcf77.py +dist_pkgdata_DATA = __init__.py pd.py CLEANFILES = *.pyc diff --git a/decoders/dcf77/__init__.py b/decoders/dcf77/__init__.py index bef505b..e2ed26b 100644 --- a/decoders/dcf77/__init__.py +++ b/decoders/dcf77/__init__.py @@ -25,5 +25,5 @@ Details: http://en.wikipedia.org/wiki/DCF77 ''' -from .dcf77 import * +from .pd import * diff --git a/decoders/dcf77/dcf77.py b/decoders/dcf77/pd.py index c4132e9..c4132e9 100644 --- a/decoders/dcf77/dcf77.py +++ b/decoders/dcf77/pd.py |