projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0a97d
)
helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p")
author
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 16:30:20 +0000
(11:30 -0500)
committer
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 21:19:50 +0000
(16:19 -0500)
pym/gentoolkit/helpers.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/helpers.py
b/pym/gentoolkit/helpers.py
index a87b9f2bbb527c02eb66d6c3edf4d3e9594e2676..5d452881a7eb94c97015920aae66c28ac1c018ae 100644
(file)
--- a/
pym/gentoolkit/helpers.py
+++ b/
pym/gentoolkit/helpers.py
@@
-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 p
ath
in paths:
+ if p
ath
.startswith('./'):
+ expanded_paths.append(osp.abspath(p
ath
))
else:
- expanded_paths.append(p)
+ expanded_paths.append(p
ath
)
return expanded_paths