diff options
author | Ricardo Gemignani <ricardo.gemignani@gmail.com> | 2014-03-06 03:08:25 -0300 |
---|---|---|
committer | Ricardo Gemignani <ricardo.gemignani@gmail.com> | 2014-03-06 03:08:25 -0300 |
commit | 554f49e7d75d1cbbee7567c577744222295eadd4 (patch) | |
tree | a2369910dd3141431fefd3b05ad2138ebfa6e789 /checkers/variables.py | |
parent | 8240a55ab1ccab81925197e0a196fcfd6eac5e2b (diff) | |
download | pylint-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.py | 2 |
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 |