projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c9078
)
package: change "f" -> "path" to avoid pylint C0103 (Invalid name "f")
author
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 21:12:23 +0000
(16:12 -0500)
committer
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 21:19:51 +0000
(16:19 -0500)
pym/gentoolkit/package.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/package.py
b/pym/gentoolkit/package.py
index 9c935c108fc251fa1d5dd85c6dcb5cef34bd872e..0b51f4ee6c5ee493db9ad3b9608eb7b13d16ec0b 100644
(file)
--- a/
pym/gentoolkit/package.py
+++ b/
pym/gentoolkit/package.py
@@
-366,9
+366,9
@@
class Package(CPV):
seen = set()
size = n_files = n_uncounted = 0
- for
f
in self.parsed_contents():
+ for
path
in self.parsed_contents():
try:
- st = os.lstat(
f
)
+ st = os.lstat(
path
)
except OSError:
continue