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

Commit45becb9

Browse files
author
Gauvain Pocentek
committed
Merge branch 'master' of github.com:gpocentek/python-gitlab
2 parents5d88f68 +6f1fd7e commit45becb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎gitlab/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from __future__importabsolute_import
2222
importargparse
2323
importinspect
24+
importoperator
2425
importre
2526
importsys
2627

@@ -256,7 +257,7 @@ def main():
256257
classes.append(cls)
257258
exceptAttributeError:
258259
pass
259-
classes.sort()
260+
classes.sort(key=operator.attrgetter("__name__"))
260261

261262
forclsinclasses:
262263
arg_name=clsToWhat(cls)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp