summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-02-25 15:46:25 +0000
committerAlec Warner <antarus@gentoo.org>2006-02-25 15:46:25 +0000
commit73d80d77a7fe23416bade991c90d7bcde630259a (patch)
treeea459b85fa5b847809e3cf4a1ed944c137720afb
parent79b0a7541b8a764d8fee722c515cec829778ae73 (diff)
downloadportage-73d80d77a7fe23416bade991c90d7bcde630259a.tar.gz
portage-73d80d77a7fe23416bade991c90d7bcde630259a.tar.bz2
portage-73d80d77a7fe23416bade991c90d7bcde630259a.zip
Killing some old code that is never executed.
svn path=/main/trunk/; revision=2784
-rw-r--r--pym/portage.py16
1 files changed, 1 insertions, 15 deletions
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