diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-04 19:35:18 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-05 20:46:33 +0200 |
commit | 799d9431e854c0d2c7be7e16926c50e32e2683ce (patch) | |
tree | b99e88349fb2b88cf6b73f0fb84158c355fe1b9e | |
parent | 1049c90ff82d3d5ce32ac92b032dd2d5a5d847cd (diff) | |
download | libsigrokdecode-799d9431e854c0d2c7be7e16926c50e32e2683ce.tar.gz libsigrokdecode-799d9431e854c0d2c7be7e16926c50e32e2683ce.zip |
Have one subdirectory per module in common/ as well.
This is consistent with decoders/, conveniently allows for more than one
file per module, and also happens to avoid some import warnings.
-rw-r--r-- | common/plugtrx/__init__.py | 20 | ||||
-rw-r--r-- | common/plugtrx/mod.py (renamed from common/plugtrx.py) | 0 |
2 files changed, 20 insertions, 0 deletions
diff --git a/common/plugtrx/__init__.py b/common/plugtrx/__init__.py new file mode 100644 index 0000000..8dd0822 --- /dev/null +++ b/common/plugtrx/__init__.py @@ -0,0 +1,20 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2016 Bert Vermeulen <bert@biot.com> +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, see <http://www.gnu.org/licenses/>. +## + +from .mod import * diff --git a/common/plugtrx.py b/common/plugtrx/mod.py index f66c271..f66c271 100644 --- a/common/plugtrx.py +++ b/common/plugtrx/mod.py |