From 73d80d77a7fe23416bade991c90d7bcde630259a Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 25 Feb 2006 15:46:25 +0000 Subject: Killing some old code that is never executed. svn path=/main/trunk/; revision=2784 --- pym/portage.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 1671c463f..c2e113580 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1589,21 +1589,7 @@ class config: match = x[mykey] break - if 0 and match and mykey in ["PORTAGE_BINHOST"]: - # These require HTTP Encoding - try: - import urllib - if urllib.unquote(match) != match: - writemsg("Note: %s already contains escape codes." % (mykey)) - else: - match = urllib.quote(match) - except SystemExit, e: - raise - except: - writemsg("Failed to fix %s using urllib, attempting to continue.\n" % (mykey)) - pass - - elif mykey == "CONFIG_PROTECT_MASK": + if mykey == "CONFIG_PROTECT_MASK": match += " /etc/env.d" return match -- cgit v1.2.3-1-g7c22