Merge pull request #504 from archlinux/torxed-fix-497

Fixing newlines not being placed correctly on SysCommand()
This commit is contained in:
Anton Hvornum 2021-05-22 19:59:27 +02:00 committed by GitHub
commit 93bc0ebd0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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