diff options
author | Michel Albert <michel@albert.lu> | 2013-03-08 19:46:22 +0100 |
---|---|---|
committer | Michel Albert <michel@albert.lu> | 2013-03-08 19:46:22 +0100 |
commit | 41f4a909a9b0812acd1d667c3d8faf6236cb423f (patch) | |
tree | a6fb224a99289a0478c768d19f8f3c1a0b579e21 | |
parent | aa4bfe2498c7726b02cdbbda6b794af9113219d3 (diff) |
Bugfix. ``response.json`` is should be a method.
-rwxr-xr-x | issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ def handle_tracker_item(item, issue_title_prefix): if response.status_code == 500: print "ISSUE CAUSED SERVER SIDE ERROR AND WAS NOT SAVED!!! Import will continue." else: - issue = response.json + issue = response.json() if 'number' not in issue: raise RuntimeError("No 'number' in issue; response %d invalid" % response.status_code) number = issue['number'] |