diff options
author | Alec Warner <antarus@gentoo.org> | 2006-02-25 15:46:25 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-02-25 15:46:25 +0000 |
commit | 73d80d77a7fe23416bade991c90d7bcde630259a (patch) | |
tree | ea459b85fa5b847809e3cf4a1ed944c137720afb | |
parent | 79b0a7541b8a764d8fee722c515cec829778ae73 (diff) | |
download | portage-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.py | 16 |
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 |