Skip to content

Commit

Permalink
Use old-style super to ensure Python 2/3 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
redtoad committed Jan 10, 2017
1 parent 43d305c commit 1559d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira_cache/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class CachedIssues(list):

def __init__(self, issues, jql=None):
super().__init__(issues)
list.__init__(self, issues)

def dump(self, fp):
return json.dump([issue.raw for issue in iter(self)], fp)
Expand Down

0 comments on commit 1559d01

Please sign in to comment.