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/usb_signalling | |
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/usb_signalling')
-rw-r--r-- | decoders/usb_signalling/Makefile.am | 2 | ||||
-rw-r--r-- | decoders/usb_signalling/__init__.py | 2 | ||||
-rw-r--r-- | decoders/usb_signalling/pd.py (renamed from decoders/usb_signalling/usb_signalling.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/usb_signalling/Makefile.am b/decoders/usb_signalling/Makefile.am index 316c62c..6a54eb3 100644 --- a/decoders/usb_signalling/Makefile.am +++ b/decoders/usb_signalling/Makefile.am @@ -20,7 +20,7 @@ pkgdatadir = $(DECODERS_DIR)/usb_signalling -dist_pkgdata_DATA = __init__.py usb_signalling.py +dist_pkgdata_DATA = __init__.py pd.py CLEANFILES = *.pyc diff --git a/decoders/usb_signalling/__init__.py b/decoders/usb_signalling/__init__.py index 026875c..98ae872 100644 --- a/decoders/usb_signalling/__init__.py +++ b/decoders/usb_signalling/__init__.py @@ -51,5 +51,5 @@ https://en.wikipedia.org/wiki/USB http://www.usb.org/developers/docs/ ''' -from .usb_signalling import * +from .pd import * diff --git a/decoders/usb_signalling/usb_signalling.py b/decoders/usb_signalling/pd.py index 3272cbf..3272cbf 100644 --- a/decoders/usb_signalling/usb_signalling.py +++ b/decoders/usb_signalling/pd.py |