From: Zac Medico Date: Tue, 18 Jun 2013 14:58:52 +0000 (-0700) Subject: RootConfig: mtimedb AttributeError, bug #473710 X-Git-Tag: v2.2.0_alpha181~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=488a1881e51c7cec15e4d07d0e00fc1d543e543a;p=portage.git RootConfig: mtimedb AttributeError, bug #473710 --- 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