summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-04-08 19:08:59 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-04-08 19:20:50 +0100
commitad60edef576683a94ebc288ff5b2066c32198a5c (patch)
tree0d51dc39a100b7a10766e4586f79f0a3165f1ac1 /Tools
parent66d5d76a29f5323aeb1a3cb204d02c8385fe6bf6 (diff)
downloadswig-ad60edef576683a94ebc288ff5b2066c32198a5c.tar.gz
Make obs-buildlogs.py Python3 compatible
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/obs-buildlogs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/obs-buildlogs.py b/Tools/obs-buildlogs.py
index eaf0f613b..b97e7dba1 100755
--- a/Tools/obs-buildlogs.py
+++ b/Tools/obs-buildlogs.py
@@ -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))