mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use super() properly to avoid an exception
https://fedorahosted.org/freeipa/ticket/4099 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
773e006ddd
commit
70e2217d73
@ -80,7 +80,7 @@ class OTPTokenKey(Bytes):
|
||||
except TypeError, e:
|
||||
raise ConversionError(name=self.name, index=index, error=str(e))
|
||||
|
||||
return Bytes._convert_scalar(value, index)
|
||||
return super(OTPTokenKey, self)._convert_scalar(value, index)
|
||||
|
||||
def _convert_owner(userobj, entry_attrs, options):
|
||||
if 'ipatokenowner' in entry_attrs and not options.get('raw', False):
|
||||
|
Loading…
Reference in New Issue
Block a user