fix: arch checking dependencies regression | pausing the progress when a confirmation dialog is displayed

This commit is contained in:
Vinicius Moreira
2019-09-12 18:13:49 -03:00
parent b864f82710
commit 04dd651dc5
3 changed files with 36 additions and 15 deletions

View File

@@ -20,10 +20,15 @@ def check_missing_deps(pkgdir: str, watcher: ProcessWatcher) -> List[str]:
error_lines = []
for s in depcheck.stderr:
if s:
line = s.decode().strip()
line = s.decode()
if line:
error_lines.append(line)
line_strip = line.strip()
if line_strip:
watcher.print(line)
if error_lines:
error_str = ''.join(error_lines)