summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-02-16 12:01:04 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2013-02-16 12:01:04 +0100
commit561f3498bfbc59d90b6ed610f944cd3084fcf8c1 (patch)
tree2245b71bad79ca7dd6314af216c910f0133ff581 /gitlab.py
parentc10b01e84a9a262c00e46d7a4f315d66bea4fb94 (diff)
downloadgitlab-561f3498bfbc59d90b6ed610f944cd3084fcf8c1.tar.gz
restore Gitlab.Issue() prototype
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab.py b/gitlab.py
index b40239c..366673a 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -292,9 +292,9 @@ class Gitlab(object):
"""
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.