public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11809 - main/trunk/pym/portage
@ 2008-11-04 23:43 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-11-04 23:43 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-11-04 23:43:38 +0000 (Tue, 04 Nov 2008)
New Revision: 11809

Modified:
   main/trunk/pym/portage/__init__.py
Log:
Fix broken reference to self inside unmerge().


Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py	2008-11-04 17:52:04 UTC (rev 11808)
+++ main/trunk/pym/portage/__init__.py	2008-11-04 23:43:38 UTC (rev 11809)
@@ -6079,6 +6079,7 @@
 	ldpath_mtimes=None, scheduler=None):
 	mylink = dblink(cat, pkg, myroot, mysettings, treetype="vartree",
 		vartree=vartree, scheduler=scheduler)
+	vartree = mylink.vartree
 	try:
 		mylink.lockdb()
 		if mylink.exists():
@@ -6091,7 +6092,7 @@
 			return retval
 		return os.EX_OK
 	finally:
-		self.vartree.dbapi.linkmap._clear_cache()
+		vartree.dbapi.linkmap._clear_cache()
 		mylink.unlockdb()
 
 def getCPFromCPV(mycpv):




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-04 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 23:43 [gentoo-commits] portage r11809 - main/trunk/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox