Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 08, 2013
@exhuma exhuma Bugfix. ``response.json`` is should be a method. 41f4a90
@ttencate Merge pull request #8 from exhuma/master
In the latest request package, response.json is a method, not a field.
fdad3d1
Showing with 1 addition and 1 deletion.
  1. +1 −1  issues.py
View
2  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']

No commit comments for this range

Something went wrong with that request. Please try again.