From: Zac Medico Date: Fri, 15 Sep 2006 10:49:57 +0000 (-0000) Subject: When it's detected that a previously remembered update has been accepted, remove... X-Git-Tag: v2.1.1-r1~76 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e16ff3f854356fd87718bdced19d2e4dbb19747;p=portage.git When it's detected that a previously remembered update has been accepted, remove it from confmem. svn path=/main/trunk/; revision=4453 --- diff --git a/pym/portage.py b/pym/portage.py index aa7fb7c90..cab4fdcae 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6316,6 +6316,10 @@ class dblink: if moveme: # Merging a new file, so update confmem. cfgfiledict[myrealdest] = [mymd5] + elif destmd5 == cfgfiledict.get(myrealdest, [None])[0]: + """A previously remembered update has been + accepted, so it is removed from confmem.""" + del cfgfiledict[myrealdest] if cfgprot: mydest = new_protect_filename(mydest, newmd5=mymd5)