From: Zac Medico Date: Thu, 22 Jun 2006 01:39:34 +0000 (-0000) Subject: Remove redundant PORT_LOGDIR validation from the config constructor. X-Git-Tag: v2.1.1~449 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84578b13aaff961665895625f75d1fbba3620365;p=portage.git Remove redundant PORT_LOGDIR validation from the config constructor. svn path=/main/trunk/; revision=3588 --- 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")