pkglistgen: Output strings on the console

This commit is contained in:
Stephan Kulow 2019-05-15 08:49:30 +02:00
parent 681a59ac0d
commit 1b20c92d41

View File

@ -358,7 +358,7 @@ class PkgListGen(ToolBase.ToolBase):
args.append(d)
p = subprocess.Popen(args, stdout=subprocess.PIPE)
for line in p.stdout:
self.logger.info(line.rstrip())
self.logger.info(line.decode('utf-8').rstrip())
files = [os.path.join(d, f)
for f in os.listdir(d) if f.endswith('.rpm')]