diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2014-02-20 13:20:01 -0500 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-02-21 16:01:22 +0100 |
commit | 70e2217d7301185713b7d7391c7f1018f7d0d523 (patch) | |
tree | 74a0b63969ce6fd2e7d00455267934e0b6430ebd /ipalib/plugins/otptoken.py | |
parent | 773e006ddd98cf9beabfada9d2830276826ab043 (diff) | |
download | freeipa-70e2217d7301185713b7d7391c7f1018f7d0d523.tar.gz freeipa-70e2217d7301185713b7d7391c7f1018f7d0d523.tar.xz freeipa-70e2217d7301185713b7d7391c7f1018f7d0d523.zip |
Use super() properly to avoid an exception
https://fedorahosted.org/freeipa/ticket/4099
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipalib/plugins/otptoken.py')
-rw-r--r-- | ipalib/plugins/otptoken.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/otptoken.py b/ipalib/plugins/otptoken.py index 77c17150d..8e76ada90 100644 --- a/ipalib/plugins/otptoken.py +++ b/ipalib/plugins/otptoken.py @@ -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): |