projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c277a
)
Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 3 Apr 2008 20:04:29 +0000
(20:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 3 Apr 2008 20:04:29 +0000
(20:04 -0000)
svn path=/main/branches/2.1.2/; revision=9692
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 5739f5760d8f061b8ff73e4bc961d422a3530c93..c14aa03535391ee459be3bca5465534e068ff96d 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-3062,7
+3062,7
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
fetch_resume_size = fetch_resume_size_default
match = _fetch_resume_size_re.match(fetch_resume_size)
fetch_resume_size = int(match.group(1)) * \
- 2 ** _size_suffix_map[match.group(2)]
+ 2 ** _size_suffix_map[match.group(2)
.upper()
]
# Behave like the package has RESTRICT="primaryuri" after a
# couple of checksum failures, to increase the probablility