Little change in pep8.py to get rid of a pyflakes warning.

Thu, 05 Jun 2014 10:16:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 05 Jun 2014 10:16:05 +0200
changeset 3629
98e90f613114
parent 3628
deb5973080a9
child 3630
e32c3cec5d7e

Little change in pep8.py to get rid of a pyflakes warning.

Plugins/CheckerPlugins/CodeStyleChecker/pep8.py file | annotate | diff | comparison | revisions
diff -r deb5973080a9 -r 98e90f613114 Plugins/CheckerPlugins/CodeStyleChecker/pep8.py
--- a/Plugins/CheckerPlugins/CodeStyleChecker/pep8.py	Wed Jun 04 16:51:04 2014 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/pep8.py	Thu Jun 05 10:16:05 2014 +0200
@@ -1141,9 +1141,9 @@
             if path[:2] == 'b/':
                 path = path[2:]
             rv[path] = set()
-    return dict([(os.path.join(parent, path), rows)
-                 for (path, rows) in rv.items()
-                 if rows and filename_match(path, patterns)])
+    return dict([(os.path.join(parent, path_), rows)
+                 for (path_, rows) in rv.items()
+                 if rows and filename_match(path_, patterns)])
 
 
 def normalize_paths(value, parent=os.curdir):

eric ide

mercurial