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

Commit3cf35ce

Browse files
committed
_setFromDict thinks False is None
1 parentff2d84c commit3cf35ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎gitlab.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,10 @@ def _setFromDict(self, data):
525525
self.__dict__[k]= []
526526
foriinv:
527527
self.__dict__[k].append(self._getObject(k,i))
528-
elifv:
529-
self.__dict__[k]=self._getObject(k,v)
530-
else:# None object
528+
elifvisNone:
531529
self.__dict__[k]=None
530+
else:
531+
self.__dict__[k]=self._getObject(k,v)
532532

533533
def_create(self):
534534
ifnotself.canCreate:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp