Convert int to str in order not to crash.

This commit is contained in:
Tomáš Chvátal 2014-03-06 16:09:08 +01:00
parent b96bb73f76
commit 61cc1756d3

View File

@ -504,7 +504,7 @@ class StagingAPI(object):
if req not in requests: if req not in requests:
requests.append(req) requests.append(req)
if open_requests: if open_requests:
return ['Request(s) {} are not tracked but are open for the prj'.format(','.join(open_requests))] return ['Request(s) {} are not tracked but are open for the prj'.format(','.join(str(v) for v in open_requests))]
# If we find no requests in staging then it is empty so we ignore it # If we find no requests in staging then it is empty so we ignore it
if not requests: if not requests: