From 41f4a909a9b0812acd1d667c3d8faf6236cb423f Mon Sep 17 00:00:00 2001 From: Michel Albert Date: Fri, 8 Mar 2013 19:46:22 +0100 Subject: Bugfix. ``response.json`` is should be a method. --- issues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues.py b/issues.py index d684165..1f5ca97 100755 --- a/issues.py +++ b/issues.py @@ -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'] -- cgit v1.2.3