projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd09d70
)
Remove pointless usage of xrange(). Thanks to Douglass Anderson
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Mar 2009 08:42:19 +0000
(08:42 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Mar 2009 08:42:19 +0000
(08:42 -0000)
<dja@gendja.com> for this patch.
svn path=/main/trunk/; revision=13142
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index dfcff6caf015e3bb120ae47ed47920b3621e87c3..c09fd552b3ce4cd478ba6789430f8b103216152e 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1358,9
+1358,9
@@
class config(object):
rawpkeywords = [grabdict_package(
os.path.join(x, "package.keywords"), recursive=1) \
for x in self.profiles]
- for
i in xrange(len(self.profiles))
:
+ for
pkeyworddict in rawpkeywords
:
cpdict = {}
- for k, v in
rawpkeywords[i]
.iteritems():
+ for k, v in
pkeyworddict
.iteritems():
cpdict.setdefault(dep_getkey(k), {})[k] = v
self._pkeywords_list.append(cpdict)