Skip to content

Commit 561f349

Browse files
author
Gauvain Pocentek
committed
restore Gitlab.Issue() prototype
1 parent c10b01e commit 561f349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ def Group(self, id=None, **kwargs):
292292
"""
293293
return self._getListOrObject(Group, id, **kwargs)
294294

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

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

0 commit comments

Comments
 (0)