projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80a33a
)
Return early from fetch() if no uris are given.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Oct 2008 22:35:43 +0000
(22:35 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Oct 2008 22:35:43 +0000
(22:35 -0000)
svn path=/main/trunk/; revision=11728
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 18ea6e8382c4511b8c3a343e9d4c86848334461c..b55cebd9466ce38c7554fb2ab35daab2b8155d91 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3339,6
+3339,9
@@
_size_suffix_map = {
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",use_locks=1, try_mirrors=1):
"fetch files. Will use digest file if available."
+ if not myuris:
+ return 1
+
features = mysettings.features
restrict = mysettings.get("PORTAGE_RESTRICT","").split()