projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488a188
)
RootConfig.update: call delattr when appropriate
author
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jun 2013 15:48:16 +0000
(08:48 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jun 2013 15:48:16 +0000
(08:48 -0700)
pym/_emerge/RootConfig.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/RootConfig.py
b/pym/_emerge/RootConfig.py
index 6b0f8acc1a432741e4b54e3a21dec22bcd005cbd..3648d01d74360231243aea2290aab89efd5c8f9b 100644
(file)
--- 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