Inside dblink.unmerge(), call self.updateprotect() just in case anything
authorZac Medico <zmedico@gentoo.org>
Tue, 15 Apr 2008 23:11:40 +0000 (23:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 15 Apr 2008 23:11:40 +0000 (23:11 -0000)
has changed since the dblink instance was constructed.

svn path=/main/trunk/; revision=9910

pym/portage/dbapi/vartree.py

index 77c589195dc06938db412e288561819efaab6088..d2ff6c1ef139de172511c9cecba6621970ae2423 100644 (file)
@@ -1303,6 +1303,7 @@ class dblink(object):
                unmerge_orphans = "unmerge-orphans" in self.settings.features
 
                if pkgfiles:
+                       self.updateprotect()
                        mykeys = pkgfiles.keys()
                        mykeys.sort()
                        mykeys.reverse()