Make obs-buildlogs.py Python3 compatible
This commit is contained in:
parent
66d5d76a29
commit
ad60edef57
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ def download():
|
|||
for line in repos.stdout:
|
||||
command = ['osc', 'buildlog', '--last'] + line.split()
|
||||
filename = "-".join(line.split()) + ".log"
|
||||
print "Downloading logs using: {}".format(" ".join(command))
|
||||
print("Downloading logs using: {}".format(" ".join(command)))
|
||||
buildlog = subprocess.Popen(command, stdout=subprocess.PIPE)
|
||||
|
||||
print("Writing log to {}".format(filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue