diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-09-04 14:44:25 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-09-04 14:44:25 +0200 |
commit | 6fee7dcd36be6632ef2585397a4412f3af9d5c9c (patch) | |
tree | b2d6f9dcb42393dfda0ff228a7eff230a97b1c95 | |
parent | 2320b49d30011b44a791a341048f2afeab36705b (diff) | |
download | clufter-6fee7dcd36be6632ef2585397a4412f3af9d5c9c.tar.gz clufter-6fee7dcd36be6632ef2585397a4412f3af9d5c9c.tar.xz clufter-6fee7dcd36be6632ef2585397a4412f3af9d5c9c.zip |
format: avoid unneeded indirection (+ potentially other pros)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r-- | format.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ class formats(PluginRegistry): cls._context = set(popattr(cls, 'context_specs', attrs.pop('context_specs', ()))) # protocols merge: top-down through inheritance - for base in reversed(cls.__bases__): + for base in reversed(bases): cls._protocols.update(getattr(base, '_protocols', {})) cls._validators.update(getattr(base, '_validators', {})) cls._context.update(getattr(base, '_context', ())) |