summaryrefslogtreecommitdiff
path: root/decoders/uart
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/uart
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/uart')
-rw-r--r--decoders/uart/Makefile.am2
-rw-r--r--decoders/uart/__init__.py2
-rw-r--r--decoders/uart/pd.py (renamed from decoders/uart/uart.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/uart/Makefile.am b/decoders/uart/Makefile.am
index 155bfc9..61efbd0 100644
--- a/decoders/uart/Makefile.am
+++ b/decoders/uart/Makefile.am
@@ -20,7 +20,7 @@
pkgdatadir = $(DECODERS_DIR)/uart
-dist_pkgdata_DATA = __init__.py uart.py
+dist_pkgdata_DATA = __init__.py pd.py
CLEANFILES = *.pyc
diff --git a/decoders/uart/__init__.py b/decoders/uart/__init__.py
index ecba2e1..23e2dd0 100644
--- a/decoders/uart/__init__.py
+++ b/decoders/uart/__init__.py
@@ -111,5 +111,5 @@ This is the list of <packet-type>s and their respective <packet-data>:
The <rxtx> field is 0 for RX packets, 1 for TX packets.
'''
-from .uart import *
+from .pd import *
diff --git a/decoders/uart/uart.py b/decoders/uart/pd.py
index 24551da..24551da 100644
--- a/decoders/uart/uart.py
+++ b/decoders/uart/pd.py