Fix another UnboundLocalError (branches/prefix r5893)
authorZac Medico <zmedico@gentoo.org>
Mon, 5 Feb 2007 20:13:37 +0000 (20:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 5 Feb 2007 20:13:37 +0000 (20:13 -0000)
svn path=/main/trunk/; revision=5895

bin/emerge

index 23ab1bb59d94518e23da8e686b004a5fe11f5d77..f19c29f49e84fea8da35207117054d46966edee8 100755 (executable)
@@ -506,8 +506,8 @@ class search:
                                        mycpv = match + "-" + myversion
                                        myebuild = self.portdb.findname(mycpv)
                                        pkgdir = os.path.dirname(myebuild)
-                                       import portage.manifest
-                                       mf = portage.manifest.Manifest(
+                                       from portage import manifest
+                                       mf = manifest.Manifest(
                                                pkgdir, self.settings["DISTDIR"])
                                        fetchlist = self.portdb.getfetchlist(mycpv,
                                                mysettings=self.settings, all=True)[1]