projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34dad04
)
Initialize UserDict.data in the constructor. (trunk r12816)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 07:44:41 +0000
(07:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 07:44:41 +0000
(07:44 -0000)
svn path=/main/branches/2.1.6/; revision=13048
pym/portage/cache/mappings.py
patch
|
blob
|
history
diff --git
a/pym/portage/cache/mappings.py
b/pym/portage/cache/mappings.py
index 77923b46230a49bfcb10aaf659458d74216536f9..066927ac146a8ec942b69afe3a97a3f8898daa04 100644
(file)
--- a/
pym/portage/cache/mappings.py
+++ b/
pym/portage/cache/mappings.py
@@
-148,6
+148,8
@@
class UserDict(MutableMapping):
def __init__(self, *args, **kwargs):
+ self.data = {}
+
if len(args) > 1:
raise TypeError(
"expected at most 1 positional argument, got " + \