summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 17:35:59 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 17:35:59 +0000
commit6e62223fe876d75c0e4f3e1cfcc33fa94e2cdaa6 (patch)
tree77d18cac3c0d2cc8fa64f33beab25b7328fd7fec
parent5110f6cf1561f95a5da9b1a578c68fe38ffcf4c2 (diff)
downloadportage-6e62223fe876d75c0e4f3e1cfcc33fa94e2cdaa6.tar.gz
portage-6e62223fe876d75c0e4f3e1cfcc33fa94e2cdaa6.tar.bz2
portage-6e62223fe876d75c0e4f3e1cfcc33fa94e2cdaa6.zip
Make config.pop() properly call config.modifying().
svn path=/main/trunk/; revision=8690
-rw-r--r--pym/portage/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 2fecfef38..29fcbda54 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2471,6 +2471,7 @@ class config(object):
return x
def pop(self, k, x=None):
+ self.modifying()
v = x
for d in reversed(self.lookuplist):
v = d.pop(k, v)