fix: Don't print blank lines during munkiimport (#755)

This commit is contained in:
Clayton Burlison
2017-04-25 22:36:14 -05:00
committed by Greg Neagle
parent ecb788178a
commit e73c9bc652
+3 -1
View File
@@ -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: