8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e27bc4 commit e65dfa3Copy full SHA for e65dfa3
gitlab/v4/cli.py
@@ -154,11 +154,11 @@ def _populate_sub_parser_by_class(cls, sub_parser):
154
if hasattr(mgr_cls, '_create_attrs'):
155
[sub_parser_action.add_argument("--%s" % x.replace('_', '-'),
156
required=True)
157
- for x in mgr_cls._create_attrs[0] if x != cls._id_attr]
+ for x in mgr_cls._create_attrs[0]]
158
159
160
required=False)
161
- for x in mgr_cls._create_attrs[1] if x != cls._id_attr]
+ for x in mgr_cls._create_attrs[1]]
162
163
if action_name == "update":
164
if cls._id_attr is not None:
0 commit comments