diff options
author | Dan Goldsmith <djgoldsmith@googlemail.com> | 2014-04-11 16:22:29 +0100 |
---|---|---|
committer | Dan Goldsmith <djgoldsmith@googlemail.com> | 2014-04-11 16:22:29 +0100 |
commit | fe36ec0486cfc9aba10d8d87b0f42077ad1e78db (patch) | |
tree | 046fbf0baf2ae392120ed930aeafe63a6df83cb2 /checkers/variables.py | |
parent | 3804162e9a3f0e320867ffb45e09a43f9d0156c2 (diff) | |
parent | 3965c47e53a1c06c709048d932fe01dcf947c032 (diff) | |
download | pylint-fe36ec0486cfc9aba10d8d87b0f42077ad1e78db.tar.gz |
Merge with trunk
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkers/variables.py b/checkers/variables.py index d5bb715..7c489e8 100644 --- a/checkers/variables.py +++ b/checkers/variables.py @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License along with # this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. """variables checkers for Python code """ import os @@ -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 |