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/jtag_stm32 | |
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/jtag_stm32')
-rw-r--r-- | decoders/jtag_stm32/Makefile.am | 2 | ||||
-rw-r--r-- | decoders/jtag_stm32/__init__.py | 2 | ||||
-rw-r--r-- | decoders/jtag_stm32/pd.py (renamed from decoders/jtag_stm32/jtag_stm32.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/decoders/jtag_stm32/Makefile.am b/decoders/jtag_stm32/Makefile.am index 08d74d6..7cd39da 100644 --- a/decoders/jtag_stm32/Makefile.am +++ b/decoders/jtag_stm32/Makefile.am @@ -20,7 +20,7 @@ pkgdatadir = $(DECODERS_DIR)/jtag_stm32 -dist_pkgdata_DATA = __init__.py jtag_stm32.py +dist_pkgdata_DATA = __init__.py pd.py CLEANFILES = *.pyc diff --git a/decoders/jtag_stm32/__init__.py b/decoders/jtag_stm32/__init__.py index bc35c46..12e667b 100644 --- a/decoders/jtag_stm32/__init__.py +++ b/decoders/jtag_stm32/__init__.py @@ -28,5 +28,5 @@ https://en.wikipedia.org/wiki/STM32 http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/CD00171190.pdf (e.g. chapter 31.7: "JTAG debug port") ''' -from .jtag_stm32 import * +from .pd import * diff --git a/decoders/jtag_stm32/jtag_stm32.py b/decoders/jtag_stm32/pd.py index e30788c..e30788c 100644 --- a/decoders/jtag_stm32/jtag_stm32.py +++ b/decoders/jtag_stm32/pd.py |