summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-06-18 07:58:52 -0700
committerZac Medico <zmedico@gentoo.org>2013-06-18 07:58:52 -0700
commit488a1881e51c7cec15e4d07d0e00fc1d543e543a (patch)
treedfe6debdc7876ae1cb67d61469080c71c1b3e25d
parentaction_build: remove useless --ask autoclean (diff)
downloadportage-488a1881e51c7cec15e4d07d0e00fc1d543e543a.tar.gz
portage-488a1881e51c7cec15e4d07d0e00fc1d543e543a.tar.bz2
portage-488a1881e51c7cec15e4d07d0e00fc1d543e543a.zip
RootConfig: mtimedb AttributeError, bug #473710
-rw-r--r--pym/_emerge/RootConfig.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/_emerge/RootConfig.py b/pym/_emerge/RootConfig.py
index 134857000..6b0f8acc1 100644
--- 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