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

Commit72e783d

Browse files
author
Gauvain Pocentek
committed
[v4] Fix getting projects using full namespace
1 parent279704f commit72e783d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎gitlab/mixins.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def get(self, id, lazy=False, **kwargs):
3939
GitlabAuthenticationError: If authentication is not correct
4040
GitlabGetError: If the server cannot perform the request
4141
"""
42+
ifnotisinstance(id,int):
43+
id=id.replace('/','%2F')
4244
path='%s/%s'% (self.path,id)
4345
iflazyisTrue:
4446
returnself._obj_cls(self, {self._obj_cls._id_attr:id})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp