diff options
author | cpopa <devnull@localhost> | 2014-04-14 15:30:37 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-04-14 15:30:37 +0300 |
commit | ea2e75a77c1a5357863b8ff495cb028c99ecc574 (patch) | |
tree | d76f0b3e58d20e1740c35b793197e940d1a950b6 /checkers/base.py | |
parent | 1427610034568644ab428a539bfaa10742f1d74d (diff) | |
download | pylint-ea2e75a77c1a5357863b8ff495cb028c99ecc574.tar.gz |
Fix Python < 2.7 compatibility.
Diffstat (limited to 'checkers/base.py')
-rw-r--r-- | checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/base.py b/checkers/base.py index 497aa40..ac58177 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -59,7 +59,7 @@ if sys.version_info < (3, 0): BAD_FUNCTIONS.append('file') # Name categories that are always consistent with all naming conventions. -EXEMPT_NAME_CATEGORIES = {'exempt', 'ignore'} +EXEMPT_NAME_CATEGORIES = set(('exempt', 'ignore')) del re |