Plugins/CheckerPlugins/CodeStyleChecker/pep8.py

changeset 3629
98e90f613114
parent 3617
2f859c5dcfb4
child 3670
f0cb7579c0b4
--- 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