shelltastic 0.4.8__tar.gz → 0.4.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {shelltastic-0.4.8 → shelltastic-0.4.9}/PKG-INFO +1 -1
- {shelltastic-0.4.8 → shelltastic-0.4.9}/pyproject.toml +1 -1
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/display.py +8 -2
- {shelltastic-0.4.8 → shelltastic-0.4.9}/LICENSE +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/README.md +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/__init__.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/__init__.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/base.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/default/__init__.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/default/common.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/default/local.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/backend/default/remote.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/enum.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/exception.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/frontend/__init__.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/frontend/common.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/frontend/git.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/frontend/scp.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/frontend/shell.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/host.py +0 -0
- {shelltastic-0.4.8 → shelltastic-0.4.9}/src/shelltastic/result.py +0 -0
|
@@ -31,12 +31,18 @@ class DevNullDisplay(IODisplay):
|
|
|
31
31
|
|
|
32
32
|
class StdoutDisplay(IODisplay):
|
|
33
33
|
def _emit_line(self, msg: object, *args: object):
|
|
34
|
-
|
|
34
|
+
if args:
|
|
35
|
+
print(str(msg) % args, flush=True)
|
|
36
|
+
return
|
|
37
|
+
print(str(msg), flush=True)
|
|
35
38
|
|
|
36
39
|
|
|
37
40
|
class StderrDisplay(IODisplay):
|
|
38
41
|
def _emit_line(self, msg: object, *args: object):
|
|
39
|
-
|
|
42
|
+
if args:
|
|
43
|
+
print(str(msg) % args, file=sys.stderr, flush=True)
|
|
44
|
+
return
|
|
45
|
+
print(str(msg), file=sys.stderr, flush=True)
|
|
40
46
|
|
|
41
47
|
|
|
42
48
|
class LogDisplay(IODisplay):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|