diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-22 23:41:57 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-22 23:41:57 +0100 |
commit | d8895fcb65ecd958b627298b32b0592565ef137e (patch) | |
tree | 57cdbc1a28493d1f131fa2b4a8a3ff6611c7fa2b /pyreverse/utils.py | |
parent | d3f5227f8903cf72d7de78d0c2a9fc2948b19ca9 (diff) | |
download | pylint-d8895fcb65ecd958b627298b32b0592565ef137e.tar.gz |
various pylint fixes
Diffstat (limited to 'pyreverse/utils.py')
-rw-r--r-- | pyreverse/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyreverse/utils.py b/pyreverse/utils.py index 976f704..ea90e05 100644 --- a/pyreverse/utils.py +++ b/pyreverse/utils.py @@ -106,8 +106,8 @@ MODES = { 'SPECIAL' : _SPECIAL, 'OTHER' : _PROTECTED + _PRIVATE, } -VIS_MOD = {'special': _SPECIAL, 'protected': _PROTECTED, \ - 'private': _PRIVATE, 'public': 0 } +VIS_MOD = {'special': _SPECIAL, 'protected': _PROTECTED, + 'private': _PRIVATE, 'public': 0} class FilterMixIn(object): """filter nodes according to a mode and nodes' visibility @@ -127,5 +127,5 @@ class FilterMixIn(object): """return true if the node should be treated """ visibility = get_visibility(getattr(node, 'name', node)) - return not (self.__mode & VIS_MOD[visibility] ) + return not (self.__mode & VIS_MOD[visibility]) |