diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-08-26 13:29:18 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-09-07 08:00:11 +0200 |
commit | ebdfa4380bdcdd99970c7d677df7e0d5e3ede6bc (patch) | |
tree | b9d9193f90c69bac773ad0542254de7e3aa47902 /ipapython/install/util.py | |
parent | 198908ec78b9a2dbdb802c3a094ec8f54b931d7a (diff) | |
download | freeipa-ebdfa4380bdcdd99970c7d677df7e0d5e3ede6bc.tar.gz freeipa-ebdfa4380bdcdd99970c7d677df7e0d5e3ede6bc.tar.xz freeipa-ebdfa4380bdcdd99970c7d677df7e0d5e3ede6bc.zip |
Use six.with_metaclass to specify metaclasses
Metaclass specification is incompatible between Python 2 and 3. Use the
six.with_metaclass helper to specify metaclasses.
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipapython/install/util.py')
-rw-r--r-- | ipapython/install/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipapython/install/util.py b/ipapython/install/util.py index d86db218b..1c264a858 100644 --- a/ipapython/install/util.py +++ b/ipapython/install/util.py @@ -159,5 +159,6 @@ class InnerClassMeta(type): self.__outer_class__ = cls self.__outer_name__ = name self.__name__ = '.'.join((cls.__name__, name)) + self.__qualname__ = self.__name__ return cls, name |