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/i2cdemux | |
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/i2cdemux')
-rw-r--r-- | decoders/i2cdemux/Makefile.am | 2 | ||||
-rw-r--r-- | decoders/i2cdemux/__init__.py | 2 | ||||
-rw-r--r-- | decoders/i2cdemux/pd.py (renamed from decoders/i2cdemux/i2cdemux.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/i2cdemux/Makefile.am b/decoders/i2cdemux/Makefile.am index d305394..bc45d02 100644 --- a/decoders/i2cdemux/Makefile.am +++ b/decoders/i2cdemux/Makefile.am @@ -20,7 +20,7 @@ pkgdatadir = $(DECODERS_DIR)/i2cdemux -dist_pkgdata_DATA = __init__.py i2cdemux.py +dist_pkgdata_DATA = __init__.py pd.py CLEANFILES = *.pyc diff --git a/decoders/i2cdemux/__init__.py b/decoders/i2cdemux/__init__.py index 445a88e..1e5afbd 100644 --- a/decoders/i2cdemux/__init__.py +++ b/decoders/i2cdemux/__init__.py @@ -25,5 +25,5 @@ Takes an I2C stream as input and outputs multiple I2C streams, each stream containing only I2C packets for one specific I2C slave. ''' -from .i2cdemux import * +from .pd import * diff --git a/decoders/i2cdemux/i2cdemux.py b/decoders/i2cdemux/pd.py index bb47f23..bb47f23 100644 --- a/decoders/i2cdemux/i2cdemux.py +++ b/decoders/i2cdemux/pd.py |