summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-22 01:39:34 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-22 01:39:34 +0000
commit84578b13aaff961665895625f75d1fbba3620365 (patch)
treebbf4836932360e80c668999402bd112d3a933413 /pym
parentbaf002881bb5d1c197e9bbcbdb4e54461d1b0e68 (diff)
downloadportage-84578b13aaff961665895625f75d1fbba3620365.tar.gz
portage-84578b13aaff961665895625f75d1fbba3620365.tar.bz2
portage-84578b13aaff961665895625f75d1fbba3620365.zip
Remove redundant PORT_LOGDIR validation from the config constructor.
svn path=/main/trunk/; revision=3588
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py
index d5982fcd7..be9f8c2a8 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1246,10 +1246,6 @@ class config:
self.configdict["env"]["PORTAGE_GID"]=str(portage_gid)
self.backupenv["PORTAGE_GID"]=str(portage_gid)
- if self.has_key("PORT_LOGDIR") and not self["PORT_LOGDIR"]:
- while "PORT_LOGDIR" in self:
- del self["PORT_LOGDIR"]
-
if self["PORTAGE_CACHEDIR"]:
# XXX: Deprecated -- April 15 -- NJ
writemsg(yellow(">>> PORTAGE_CACHEDIR has been deprecated!")+"\n")