From 353e38a6df18c2a4621e5496b4de3013752cc097 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 3 Apr 2008 20:04:29 +0000 Subject: Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691) svn path=/main/branches/2.1.2/; revision=9692 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22