mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Generate same API.txt under Python 2 and 3
Use Python 3's reprlib with customizations to create same API.txt under Python 2 and 3. Some plugins have been slightly altered to use stable sorting for dynamically created parameter lists. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -632,24 +632,24 @@ class migrate_ds(Command):
|
||||
doc=_('Load CA certificate of LDAP server from FILE'),
|
||||
default=None,
|
||||
noextrawhitespace=False,
|
||||
),
|
||||
),
|
||||
Bool('use_def_group?',
|
||||
cli_name='use_default_group',
|
||||
label=_('Add to default group'),
|
||||
doc=_('Add migrated users without a group to a default group '
|
||||
'(default: true)'),
|
||||
default=True,
|
||||
autofill=True,
|
||||
),
|
||||
cli_name='use_default_group',
|
||||
label=_('Add to default group'),
|
||||
doc=_('Add migrated users without a group to a default group '
|
||||
'(default: true)'),
|
||||
default=True,
|
||||
autofill=True,
|
||||
),
|
||||
StrEnum('scope',
|
||||
cli_name='scope',
|
||||
label=_('Search scope'),
|
||||
doc=_('LDAP search scope for users and groups: base, onelevel, or '
|
||||
'subtree. Defaults to onelevel'),
|
||||
values=tuple(_supported_scopes.keys()),
|
||||
default=_default_scope,
|
||||
autofill=True,
|
||||
),
|
||||
cli_name='scope',
|
||||
label=_('Search scope'),
|
||||
doc=_('LDAP search scope for users and groups: base, '
|
||||
'onelevel, or subtree. Defaults to onelevel'),
|
||||
values=sorted(_supported_scopes),
|
||||
default=_default_scope,
|
||||
autofill=True,
|
||||
),
|
||||
)
|
||||
|
||||
has_output = (
|
||||
|
||||
Reference in New Issue
Block a user