projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8a3bf
)
Ensure that that fetch restriction message is only show once in --pretend mode.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 27 Jul 2006 08:12:52 +0000
(08:12 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 27 Jul 2006 08:12:52 +0000
(08:12 -0000)
svn path=/main/trunk/; revision=4029
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 663741e90fa5ac196216f8f3b4706fdc8b41621c..ad2c72c1c99b507bfe9f516b32884f89422725bf 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2143,6
+2143,8
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
print "!!! manually. See the comments in" + \
" the ebuild for more information.\n"
spawn(EBUILD_SH_BINARY + " nofetch", mysettings)
+ if listonly:
+ return 0
if (fetched!=2) and not listonly:
if restrict_fetch:
pass