From: Zac Medico Date: Sun, 2 Jul 2006 01:14:57 +0000 (-0000) Subject: Fix NameError when collision-protect is enabled for bug #138793. X-Git-Tag: v2.1.1~304 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f4d3665ec58ae8f54d8e52ba834ca09ac536171;p=portage.git Fix NameError when collision-protect is enabled for bug #138793. svn path=/main/trunk/; revision=3747 --- diff --git a/pym/portage.py b/pym/portage.py index bf0299e09..b995ab054 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6202,7 +6202,9 @@ class dblink: for v in otherversions: # only allow versions with same slot to overwrite files if myslot == self.vartree.dbapi.aux_get("/".join((self.cat, v)), ["SLOT"])[0]: - mypkglist.append(dblink(self.cat,v,destroot,self.settings)) + mypkglist.append( + dblink(self.cat, v, destroot, self.settings, + vartree=self.vartree)) print green("*")+" checking "+str(len(myfilelist))+" files for package collisions" for f in myfilelist: