Mon, 09 Sep 2013 20:04:19 +0200
Fixed an issue in the pep8.py checkers.
Plugins/CheckerPlugins/Pep8/pep8.py | file | annotate | diff | comparison | revisions | |
UtilitiesPython2/pep8.py | file | annotate | diff | comparison | revisions |
--- a/Plugins/CheckerPlugins/Pep8/pep8.py Mon Sep 09 19:35:17 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/pep8.py Mon Sep 09 20:04:19 2013 +0200 @@ -1388,8 +1388,8 @@ else: offset = (1, 0) self.report_error_args(offset[0], offset[1] or 0, - 'E901', exc_type.__name__, exc.args[0], - self.report_invalid_syntax) + 'E901', self.report_invalid_syntax, + exc_type.__name__, exc.args[0]) report_invalid_syntax.__doc__ = " Check if the syntax is valid." def readline(self):
--- a/UtilitiesPython2/pep8.py Mon Sep 09 19:35:17 2013 +0200 +++ b/UtilitiesPython2/pep8.py Mon Sep 09 20:04:19 2013 +0200 @@ -1230,8 +1230,8 @@ else: offset = (1, 0) self.report_error_args(offset[0], offset[1] or 0, - 'E901', exc_type.__name__, exc.args[0], - self.report_invalid_syntax) + 'E901', self.report_invalid_syntax, + exc_type.__name__, exc.args[0]) report_invalid_syntax.__doc__ = " Check if the syntax is valid." def readline(self):