summaryrefslogtreecommitdiff
path: root/checkers/variables.py
diff options
context:
space:
mode:
authorRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 03:08:25 -0300
committerRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 03:08:25 -0300
commit9383d144f87247dcdb6419ff2c1b70977d0ed656 (patch)
treec462522389ba0fa87426ef43613a7319ca0240d2 /checkers/variables.py
parent13ee941dadcaadbbdbeac8f4db2df9e3f7c88ef1 (diff)
downloadpylint-git-9383d144f87247dcdb6419ff2c1b70977d0ed656.tar.gz
except as replaced by commas, one with_statement future import added and StringFormat used to replace string.format when python < 2.6
Diffstat (limited to 'checkers/variables.py')
-rw-r--r--checkers/variables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/variables.py b/checkers/variables.py
index cbb14317a..7c489e8b1 100644
--- a/checkers/variables.py
+++ b/checkers/variables.py
@@ -233,7 +233,7 @@ builtins. Remember that you should avoid to define new builtins when possible.'
self.add_message('undefined-all-variable',
args=elt_name,
node=elt)
- except SyntaxError as exc:
+ except SyntaxError, exc:
# don't yield an syntax-error warning,
# because it will be later yielded
# when the file will be checked