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:
Nathaniel McCallum 2014-02-20 13:20:01 -05:00 committed by Petr Viktorin
parent 773e006ddd
commit 70e2217d73

View File

@ -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):