Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-04 15:17:33 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-04 15:17:33 +0200
commit918bc95edfcdc18206c8132611a4d7e7473368bc (patch)
tree063b1036ebca508f741d31d0e2f7a5e6c665943a
parent36bc243cf8d2dbb68d1c37f121f9b1e537964175 (diff)
Added some debugging
-rw-r--r--archinstall/lib/general.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index c102c946..d47b390a 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -166,6 +166,13 @@ class sys_command():#Thread):
except UnicodeDecodeError:
return None
+ output = output.strip('\r\n ')
+ if len(output) <= 0:
+ return None
+
+ print([output])
+ return None
+
if self.peak_output:
from .user_interaction import get_terminal_width
@@ -179,7 +186,7 @@ class sys_command():#Thread):
sys.stdout.flush()
# And print the new output we're peaking on:
- sys.stdout.write(output.strip('\r\n '))
+ sys.stdout.write(output)
sys.stdout.flush()
def run(self):