projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56bf0c
)
Fix breakage in Package constructor attribute initialization.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 22:49:16 +0000
(22:49 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 22:49:16 +0000
(22:49 -0000)
svn path=/main/trunk/; revision=10423
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 45946a42c67905907b15ac44a5f69d7feb566939..173eba75ff7a39d72a774a8074c67b881806fa99 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-1294,8
+1294,10
@@
class Package(Task):
Detect metadata updates and synchronize Package attributes.
"""
def __init__(self, pkg, metadata):
- dict.__init__(self
, metadata.iteritems()
)
+ dict.__init__(self)
self._pkg = pkg
+ for k, v in metadata.iteritems():
+ self[k] = v
def __setitem__(self, k, v):
dict.__setitem__(self, k, v)