mirror of
https://github.com/munki/munki.git
synced 2026-04-27 16:05:24 -05:00
fix: Don't print blank lines during munkiimport (#755)
This commit is contained in:
committed by
Greg Neagle
parent
ecb788178a
commit
e73c9bc652
@@ -82,7 +82,9 @@ def make_dmg(pkgpath):
|
||||
output = proc.stdout.readline()
|
||||
if not output and (proc.poll() != None):
|
||||
break
|
||||
print output.rstrip('\n').decode('UTF-8')
|
||||
line = output.rstrip('\n').decode('UTF-8')
|
||||
if len(line) > 0:
|
||||
print line
|
||||
sys.stdout.flush()
|
||||
retcode = proc.poll()
|
||||
if retcode:
|
||||
|
||||
Reference in New Issue
Block a user