summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 17:36:35 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 17:36:35 +0000
commit9aba5f55c5fad3b308efd54204851097f45f1881 (patch)
treec7a1193a60a881da52dc4e708898094863215d62 /pym
parent58b49123efc3a698aeb80d185e918beb66e547d2 (diff)
downloadportage-9aba5f55c5fad3b308efd54204851097f45f1881.tar.gz
portage-9aba5f55c5fad3b308efd54204851097f45f1881.tar.bz2
portage-9aba5f55c5fad3b308efd54204851097f45f1881.zip
Make config.pop() properly call config.modifying(). (trunk r8690)
svn path=/main/branches/2.1.2/; revision=8691
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index b0325feb8..963090086 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2421,6 +2421,7 @@ class config:
return x
def pop(self, k, x=None):
+ self.modifying()
v = x
for d in reversed(self.lookuplist):
v = d.pop(k, v)