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/nunchuk | |
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/nunchuk')
-rw-r--r-- | decoders/nunchuk/Makefile.am | 2 | ||||
-rw-r--r-- | decoders/nunchuk/__init__.py | 2 | ||||
-rw-r--r-- | decoders/nunchuk/pd.py (renamed from decoders/nunchuk/nunchuk.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/nunchuk/Makefile.am b/decoders/nunchuk/Makefile.am index 5a4917b..7e37522 100644 --- a/decoders/nunchuk/Makefile.am +++ b/decoders/nunchuk/Makefile.am @@ -20,7 +20,7 @@ pkgdatadir = $(DECODERS_DIR)/nunchuk -dist_pkgdata_DATA = __init__.py nunchuk.py +dist_pkgdata_DATA = __init__.py pd.py CLEANFILES = *.pyc diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py index 9b85374..ac8e64b 100644 --- a/decoders/nunchuk/__init__.py +++ b/decoders/nunchuk/__init__.py @@ -29,5 +29,5 @@ http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/ https://www.sparkfun.com/products/9281 ''' -from .nunchuk import * +from .pd import * diff --git a/decoders/nunchuk/nunchuk.py b/decoders/nunchuk/pd.py index 0dae39c..0dae39c 100644 --- a/decoders/nunchuk/nunchuk.py +++ b/decoders/nunchuk/pd.py |