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 | 9383d144f87247dcdb6419ff2c1b70977d0ed656 (patch) | |
| tree | c462522389ba0fa87426ef43613a7319ca0240d2 /checkers/variables.py | |
| parent | 13ee941dadcaadbbdbeac8f4db2df9e3f7c88ef1 (diff) | |
| download | pylint-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.py | 2 |
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 |
