From 488a1881e51c7cec15e4d07d0e00fc1d543e543a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 18 Jun 2013 07:58:52 -0700 Subject: [PATCH] RootConfig: mtimedb AttributeError, bug #473710 --- pym/_emerge/RootConfig.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.26.2