projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de6e2d
)
RootConfig: mtimedb AttributeError, bug #473710
author
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jun 2013 14:58:52 +0000
(07:58 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jun 2013 14:58:52 +0000
(07:58 -0700)
pym/_emerge/RootConfig.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/RootConfig.py
b/pym/_emerge/RootConfig.py
index 1348570008179db97a4b7a12373354d86940efcc..6b0f8acc1a432741e4b54e3a21dec22bcd005cbd 100644
(file)
--- a/
pym/_emerge/RootConfig.py
+++ b/
pym/_emerge/RootConfig.py
@@
-31,4
+31,8
@@
class RootConfig(object):
Shallow copy all attributes from another instance.
"""
for k in self.__slots__:
- setattr(self, k, getattr(other, k))
+ try:
+ setattr(self, k, getattr(other, k))
+ except AttributeError:
+ # mtimedb is currently not a required attribute
+ pass