helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p")
authorW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 16:30:20 +0000 (11:30 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:19:50 +0000 (16:19 -0500)
pym/gentoolkit/helpers.py

index a87b9f2bbb527c02eb66d6c3edf4d3e9594e2676..5d452881a7eb94c97015920aae66c28ac1c018ae 100644 (file)
@@ -312,11 +312,11 @@ class FileOwner(object):
 
                osp = os.path
                expanded_paths = []
-               for p in paths:
-                       if p.startswith('./'):
-                               expanded_paths.append(osp.abspath(p))
+               for path in paths:
+                       if path.startswith('./'):
+                               expanded_paths.append(osp.abspath(path))
                        else:
-                               expanded_paths.append(p)
+                               expanded_paths.append(path)
 
                return expanded_paths