From 654b4dbb193f6e7e74403764a3c67bce57964288 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 18 Jun 2013 08:48:16 -0700 Subject: [PATCH] RootConfig.update: call delattr when appropriate --- pym/_emerge/RootConfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/RootConfig.py b/pym/_emerge/RootConfig.py index 6b0f8acc1..3648d01d7 100644 --- a/pym/_emerge/RootConfig.py +++ b/pym/_emerge/RootConfig.py @@ -35,4 +35,7 @@ class RootConfig(object): setattr(self, k, getattr(other, k)) except AttributeError: # mtimedb is currently not a required attribute - pass + try: + delattr(self, k) + except AttributeError: + pass -- 2.26.2