aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'portage_with_autodep/pym/_emerge/EbuildFetchonly.py')
-rw-r--r--portage_with_autodep/pym/_emerge/EbuildFetchonly.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portage_with_autodep/pym/_emerge/EbuildFetchonly.py b/portage_with_autodep/pym/_emerge/EbuildFetchonly.py
index b898971..f88ea96 100644
--- a/portage_with_autodep/pym/_emerge/EbuildFetchonly.py
+++ b/portage_with_autodep/pym/_emerge/EbuildFetchonly.py
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-from _emerge.SlotObject import SlotObject
import portage
from portage import os
from portage.elog.messages import eerror
+from portage.util.SlotObject import SlotObject
class EbuildFetchonly(SlotObject):
@@ -21,7 +21,7 @@ class EbuildFetchonly(SlotObject):
debug = settings.get("PORTAGE_DEBUG") == "1"
rval = portage.doebuild(ebuild_path, "fetch",
- settings["ROOT"], settings, debug=debug,
+ settings=settings, debug=debug,
listonly=self.pretend, fetchonly=1, fetchall=self.fetch_all,
mydbapi=portdb, tree="porttree")