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

Commitc6e371e

Browse files
author
Gauvain Pocentek
committed
ids can be unicode
Fixes#15
1 parent04574f3 commitc6e371e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def delete(self):
523523
def__init__(self,gl,data=None,**kwargs):
524524
self.gitlab=gl
525525

526-
ifdataisNoneorisinstance(data,int)orisinstance(data,str):
526+
ifdataisNoneortype(data)in [int,str,unicode]:
527527
data=self.gitlab.get(self.__class__,data,**kwargs)
528528

529529
self._setFromDict(data)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp