Remove redundant PORT_LOGDIR validation from the config constructor.
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Jun 2006 01:39:34 +0000 (01:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Jun 2006 01:39:34 +0000 (01:39 -0000)
svn path=/main/trunk/; revision=3588

pym/portage.py

index d5982fcd7d822a6f4be41f39238eb384a47db537..be9f8c2a88ebe6b24edc478415b56c54f8c3a7bf 100644 (file)
@@ -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")