summaryrefslogtreecommitdiff
path: root/checkers/base.py
diff options
context:
space:
mode:
authorcpopa <devnull@localhost>2014-04-14 15:30:37 +0300
committercpopa <devnull@localhost>2014-04-14 15:30:37 +0300
commitea2e75a77c1a5357863b8ff495cb028c99ecc574 (patch)
treed76f0b3e58d20e1740c35b793197e940d1a950b6 /checkers/base.py
parent1427610034568644ab428a539bfaa10742f1d74d (diff)
downloadpylint-ea2e75a77c1a5357863b8ff495cb028c99ecc574.tar.gz
Fix Python < 2.7 compatibility.
Diffstat (limited to 'checkers/base.py')
-rw-r--r--checkers/base.py2
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