summaryrefslogtreecommitdiff
path: root/decoders/onewire_link
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/onewire_link
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/onewire_link')
-rw-r--r--decoders/onewire_link/Makefile.am2
-rw-r--r--decoders/onewire_link/__init__.py2
-rw-r--r--decoders/onewire_link/pd.py (renamed from decoders/onewire_link/onewire_link.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/onewire_link/Makefile.am b/decoders/onewire_link/Makefile.am
index b043eca..f949f4c 100644
--- a/decoders/onewire_link/Makefile.am
+++ b/decoders/onewire_link/Makefile.am
@@ -20,7 +20,7 @@
pkgdatadir = $(DECODERS_DIR)/onewire_link
-dist_pkgdata_DATA = __init__.py onewire_link.py
+dist_pkgdata_DATA = __init__.py pd.py
CLEANFILES = *.pyc
diff --git a/decoders/onewire_link/__init__.py b/decoders/onewire_link/__init__.py
index cb03471..c1331c6 100644
--- a/decoders/onewire_link/__init__.py
+++ b/decoders/onewire_link/__init__.py
@@ -87,5 +87,5 @@ TODO:
- Maybe add support for interrupts, check if this feature is deprecated.
'''
-from .onewire_link import *
+from .pd import *
diff --git a/decoders/onewire_link/onewire_link.py b/decoders/onewire_link/pd.py
index c8bda56..c8bda56 100644
--- a/decoders/onewire_link/onewire_link.py
+++ b/decoders/onewire_link/pd.py