Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9736e0b

Browse files
author
Gauvain Pocentek
committed
Merge pull request#41 from mjmaenpaa/gitlab_get_exception
Gitlab.get() raised GitlabListError instead of GitlabGetError
2 parents9f134fc +ee54b3e commit9736e0b

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
@@ -232,8 +232,8 @@ def get(self, obj_class, id=None, **kwargs):
232232
ifknotinkwargs:
233233
missing.append(k)
234234
ifmissing:
235-
raiseGitlabListError('Missing attribute(s): %s'%
236-
", ".join(missing))
235+
raiseGitlabGetError('Missing attribute(s): %s'%
236+
", ".join(missing))
237237

238238
url=obj_class._url%_sanitize_dict(kwargs)
239239
ifidisnotNone:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp