From: Zac Medico Date: Tue, 18 Jun 2013 15:48:16 +0000 (-0700) Subject: RootConfig.update: call delattr when appropriate X-Git-Tag: v2.2.0_alpha181~6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=654b4dbb193f6e7e74403764a3c67bce57964288;p=portage.git RootConfig.update: call delattr when appropriate --- 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