summaryrefslogtreecommitdiff
path: root/decoders/i2c
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/i2c
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/i2c')
-rw-r--r--decoders/i2c/Makefile.am2
-rw-r--r--decoders/i2c/__init__.py2
-rw-r--r--decoders/i2c/pd.py (renamed from decoders/i2c/i2c.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/i2c/Makefile.am b/decoders/i2c/Makefile.am
index 75a53eb..c25393f 100644
--- a/decoders/i2c/Makefile.am
+++ b/decoders/i2c/Makefile.am
@@ -20,7 +20,7 @@
pkgdatadir = $(DECODERS_DIR)/i2c
-dist_pkgdata_DATA = __init__.py i2c.py
+dist_pkgdata_DATA = __init__.py pd.py
CLEANFILES = *.pyc
diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py
index 14262d1..6c7dafe 100644
--- a/decoders/i2c/__init__.py
+++ b/decoders/i2c/__init__.py
@@ -79,5 +79,5 @@ For 'START', 'START REPEAT', 'STOP', 'ACK', and 'NACK' <data> is None.
'''
-from .i2c import *
+from .pd import *
diff --git a/decoders/i2c/i2c.py b/decoders/i2c/pd.py
index 53321eb..53321eb 100644
--- a/decoders/i2c/i2c.py
+++ b/decoders/i2c/pd.py