projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ca472
)
In fetch(), make sure all references to digests for zero-byte distfile are
author
Zac Medico
<zmedico@gentoo.org>
Fri, 17 Oct 2008 02:02:32 +0000
(
02:02
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 17 Oct 2008 02:02:32 +0000
(
02:02
-0000)
always discarded.
svn path=/main/trunk/; revision=11697
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index dfa445bce55d6bed2555a21a9664b420a4560437..f0df5b6881948b20d527d00c10c5d4e97b2a5089 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3641,6
+3641,7
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
size = orig_digests.get("size")
if size == 0:
# Zero-byte distfiles are always invalid, so discard their digests.
+ del mydigests[myfile]
orig_digests.clear()
size = None
pruned_digests = orig_digests