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
commit554f49e7d75d1cbbee7567c577744222295eadd4 (patch)
treea2369910dd3141431fefd3b05ad2138ebfa6e789 /checkers/variables.py
parent8240a55ab1ccab81925197e0a196fcfd6eac5e2b (diff)
downloadpylint-554f49e7d75d1cbbee7567c577744222295eadd4.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 cbb1431..7c489e8 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