From 5f4d3665ec58ae8f54d8e52ba834ca09ac536171 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Jul 2006 01:14:57 +0000 Subject: [PATCH] Fix NameError when collision-protect is enabled for bug #138793. svn path=/main/trunk/; revision=3747 --- pym/portage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.26.2