public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] portage r9692 - main/branches/2.1.2/pym
Date: Thu, 03 Apr 2008 20:04:30 +0000	[thread overview]
Message-ID: <E1JhVfi-0002Cr-6U@stork.gentoo.org> (raw)

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



                 reply	other threads:[~2008-04-03 20:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JhVfi-0002Cr-6U@stork.gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox