summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-11-21 22:43:02 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-11-24 20:21:19 +0100
commit24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5 (patch)
tree43d0c24c6a18e824d9d66a390bad9cff3aa081af /decoders/i2cfilter
parent23f999aa996e54cd73cb54d5e254d1445d65847d (diff)
downloadlibsigrokdecode-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/i2cfilter')
-rw-r--r--decoders/i2cfilter/Makefile.am2
-rw-r--r--decoders/i2cfilter/__init__.py2
-rw-r--r--decoders/i2cfilter/pd.py (renamed from decoders/i2cfilter/i2cfilter.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/i2cfilter/Makefile.am b/decoders/i2cfilter/Makefile.am
index 5b90489..ff7abc4 100644
--- a/decoders/i2cfilter/Makefile.am
+++ b/decoders/i2cfilter/Makefile.am
@@ -19,7 +19,7 @@
pkgdatadir = $(DECODERS_DIR)/i2cfilter
-dist_pkgdata_DATA = __init__.py i2cfilter.py
+dist_pkgdata_DATA = __init__.py pd.py
CLEANFILES = *.pyc
diff --git a/decoders/i2cfilter/__init__.py b/decoders/i2cfilter/__init__.py
index 6443f5b..9a0b256 100644
--- a/decoders/i2cfilter/__init__.py
+++ b/decoders/i2cfilter/__init__.py
@@ -34,5 +34,5 @@ Both of these are optional; if no options are specified the entire payload
of the I2C session will be output.
'''
-from .i2cfilter import *
+from .pd import *
diff --git a/decoders/i2cfilter/i2cfilter.py b/decoders/i2cfilter/pd.py
index 9c9c43a..9c9c43a 100644
--- a/decoders/i2cfilter/i2cfilter.py
+++ b/decoders/i2cfilter/pd.py