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

Commitcb8ca65

Browse files
author
Gauvain Pocentek
committed
[cli] Fix listing of strings
1 parent88391bf commitcb8ca65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎gitlab/v4/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ def extend_parser(parser):
249249

250250

251251
defget_dict(obj,fields):
252+
ifisinstance(obj,six.string_types):
253+
returnobj
254+
252255
iffields:
253256
return {k:vfork,vinobj.attributes.items()
254257
ifkinfields}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp