summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 9307ce8be..2a1c1c6ca 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6827,7 +6827,8 @@ class binarytree(object):
fcmd = self.settings.get(fcmd_prefix + "_" + protocol.upper())
if not fcmd:
fcmd = self.settings.get(fcmd_prefix)
- return getbinpkg.file_get(url, mydest, fcmd=fcmd)
+ if not getbinpkg.file_get(url, mydest, fcmd=fcmd):
+ raise portage_exception.FileNotFound(tbz2_path)
def getslot(self,mycatpkg):
"Get a slot for a catpkg; assume it exists."