Skip to content

Commit

Permalink
restore Gitlab.Issue() prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Feb 16, 2013
1 parent c10b01e commit 561f349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab.py
Expand Up @@ -292,9 +292,9 @@ def Group(self, id=None, **kwargs):
"""
return self._getListOrObject(Group, id, **kwargs)

def Issue(self):
def Issue(self, id=None, **kwargs):
"""Lists issues(s) known by the GitLab server."""
return self._getListOrObject(Issue, None, **kwargs)
return self._getListOrObject(Issue, id, **kwargs)

def User(self, id=None, **kwargs):
"""Creates/gets/lists users(s) known by the GitLab server.
Expand Down

0 comments on commit 561f349

Please sign in to comment.