Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-22 19:59:27 +0200
committerGitHub <noreply@github.com>2021-05-22 19:59:27 +0200
commit93bc0ebd0ff74fc72d9336ff614ec3c6731faa47 (patch)
tree017fe91f686111fb961b8a87f84edd3b3efb8b8b /archinstall/lib
parente5c8a187522e89bf0b21cddff32ecb56b8d99ca1 (diff)
parentf2e7b1440a0ad7c04bd7540b13eddd1f1f0069b7 (diff)
Merge pull request #504 from archlinux/torxed-fix-497
Fixing newlines not being placed correctly on SysCommand()
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/general.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 249c7890..3b62c891 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -333,6 +333,10 @@ class SysCommand:
while self.session.ended is None:
self.session.poll()
+ if self.peak_output:
+ sys.stdout.write('\n')
+ sys.stdout.flush()
+
except SysCallError:
return False