summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
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.