diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-03 20:04:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-03 20:04:29 +0000 |
commit | 353e38a6df18c2a4621e5496b4de3013752cc097 (patch) | |
tree | f624c5bb4120b75bab10cdf87aef5454fc4b6b0d | |
parent | c6c277ac6f66f0bc9e5dd4cc4bd3e965d316e62c (diff) | |
download | portage-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
-rw-r--r-- | pym/portage.py | 2 |
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 |