summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-03 20:04:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-03 20:04:29 +0000
commit353e38a6df18c2a4621e5496b4de3013752cc097 (patch)
treef624c5bb4120b75bab10cdf87aef5454fc4b6b0d /pym/portage.py
parentc6c277ac6f66f0bc9e5dd4cc4bd3e965d316e62c (diff)
downloadportage-353e38a6df18c2a4621e5496b4de3013752cc097.tar.gz
portage-353e38a6df18c2a4621e5496b4de3013752cc097.tar.bz2
portage-353e38a6df18c2a4621e5496b4de3013752cc097.zip
Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)
svn path=/main/branches/2.1.2/; revision=9692
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 5739f5760..c14aa0353 100644
--- 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