]> git.ipfire.org Git - people/ms/bricklayer.git/commitdiff
tui: Move from sub-module to normal file
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 May 2021 13:53:23 +0000 (13:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 May 2021 13:53:23 +0000 (13:53 +0000)
I thought this would become more code which would need to be split into
multiple files, but that does not turn out to be true.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/python/tui.py [moved from src/python/tui/__init__.py with 99% similarity]

index 4993ee83760e6db5807790de2276ee11b63267d8..5694d421db1192f8142388a1fc654e5461eb67f1 100644 (file)
@@ -51,9 +51,5 @@ dist_pkgpython_PYTHON = \
        src/python/lang.py \
        src/python/logger.py \
        src/python/step.py \
+       src/python/tui.py \
        src/python/util.py
-
-pkgpython_tuidir = $(pkgpythondir)/tui
-
-dist_pkgpython_tui_PYTHON = \
-       src/python/tui/__init__.py
similarity index 99%
rename from src/python/tui/__init__.py
rename to src/python/tui.py
index 5fa8bbc49348b2a065ebdfb6e79a86d2e59b8da5..83da597f015fea52ec5eb97b4762e58dc1cc8718 100644 (file)
@@ -21,7 +21,7 @@
 import logging
 import snack
 
-from ..i18n import _
+from .i18n import _
 
 # Setup logging
 log = logging.getLogger("bricklayer.tui")