diff options
| author | Jan Barta <55042barta@sstebrno.eu> | 2016-06-03 13:35:46 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-09-22 16:52:57 +0200 |
| commit | 8420d04f383b958660934ccf3c7c3bf9b27ac30c (patch) | |
| tree | abf0a3c706dc1930669b025df53052610b0c713c /ipapython | |
| parent | f252f50987cfb1234671ca1742c11a0eebe8633c (diff) | |
| download | freeipa-8420d04f383b958660934ccf3c7c3bf9b27ac30c.tar.gz freeipa-8420d04f383b958660934ccf3c7c3bf9b27ac30c.tar.xz freeipa-8420d04f383b958660934ccf3c7c3bf9b27ac30c.zip | |
pylint: fix bad-mcs-classmethod-argument
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Diffstat (limited to 'ipapython')
| -rw-r--r-- | ipapython/install/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipapython/install/util.py b/ipapython/install/util.py index 1c264a858..37f1bfe55 100644 --- a/ipapython/install/util.py +++ b/ipapython/install/util.py @@ -82,11 +82,11 @@ def run_generator_with_yield_from(gen): class InnerClassMeta(type): - def __new__(cls, name, bases, class_dict): + def __new__(mcs, name, bases, class_dict): class_dict.pop('__outer_class__', None) class_dict.pop('__outer_name__', None) - return super(InnerClassMeta, cls).__new__(cls, name, bases, class_dict) + return super(InnerClassMeta, mcs).__new__(mcs, name, bases, class_dict) def __get__(self, obj, obj_type): outer_class, outer_name = self.__bind(obj_type) |
