Make config.pop() properly call config.modifying().
authorZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 17:35:59 +0000 (17:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 17:35:59 +0000 (17:35 -0000)
svn path=/main/trunk/; revision=8690

pym/portage/__init__.py

index 2fecfef3878ba4991b8f681c97f2099fa9075f99..29fcbda54e4db459fbe5dc8356f1a45d28651251 100644 (file)
@@ -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)