* [gentoo-commits] portage r9692 - main/branches/2.1.2/pym
@ 2008-04-03 20:04 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-04-03 20:04 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-04-03 20:04:29 +0000 (Thu, 03 Apr 2008)
New Revision: 9692
Modified:
main/branches/2.1.2/pym/portage.py
Log:
Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)
Modified: main/branches/2.1.2/pym/portage.py
===================================================================
--- main/branches/2.1.2/pym/portage.py 2008-04-03 20:03:40 UTC (rev 9691)
+++ main/branches/2.1.2/pym/portage.py 2008-04-03 20:04:29 UTC (rev 9692)
@@ -3062,7 +3062,7 @@
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
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-03 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 20:04 [gentoo-commits] portage r9692 - main/branches/2.1.2/pym Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox