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

Commit134fc7a

Browse files
committed
Fixed object creation in list
1 parentc3ab869 commit134fc7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎gitlab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,13 @@ def list(self, obj_class, **kwargs):
222222
ifobj_class._returnClass:
223223
cls=obj_class._returnClass
224224

225+
cls_kwargs=kwargs.copy()
226+
225227
# Add _created manually, because we are not creating objects
226228
# through normal path
227229
cls_kwargs['_created']=True
228230

229231
# Remove parameters from kwargs before passing it to constructor
230-
cls_kwargs=kwargs.copy()
231232
forkeyin ['page','per_page']:
232233
ifkeyincls_kwargs:
233234
delcls_kwargs[key]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp