mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Return ipaRangeType as a list in idrange commands
To be consistent with the rest of the LDAP commands, return ipaRangeType as a list of unicode strings. Regression caused by https://fedorahosted.org/freeipa/ticket/3647
This commit is contained in:
committed by
Martin Kosek
parent
0750bab259
commit
7eb6d8cb14
@@ -224,7 +224,7 @@ class idrange(LDAPObject):
|
||||
if not any((options.get('pkey_only', False),
|
||||
options.get('raw', False))):
|
||||
range_type = entry_attrs['iparangetype'][0]
|
||||
entry_attrs['iparangetype'] = self.range_types.get(range_type, None)
|
||||
entry_attrs['iparangetype'] = [self.range_types.get(range_type, None)]
|
||||
|
||||
# Remove the objectclass
|
||||
if not keep_objectclass:
|
||||
|
||||
Reference in New Issue
Block a user