From: Fabian Groffen Date: Tue, 1 Jan 2008 22:06:30 +0000 (-0000) Subject: Python doesn't like me, and I don't like Python X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=42b91e364bd6ea1320635af75a587fb10a25ea89;p=portage.git Python doesn't like me, and I don't like Python svn path=/main/branches/prefix/; revision=9133 --- diff --git a/pym/portage/data.py b/pym/portage/data.py index b869e2efd..e7da2e521 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -5,7 +5,7 @@ import os, sys, pwd, grp from portage.util import writemsg -from portage.const import rootuid, portageuser, portagegroup +from portage.const import rootuid, portageuser, portagegroup, EPREFIX from portage.output import green,red from portage.output import create_color_func bad = create_color_func("BAD") @@ -15,8 +15,7 @@ userland = None # Prefix always has USERLAND=GNU, even on # FreeBSD, OpenBSD and Darwin (thank the lord!). # Hopefully this entire USERLAND hack can go once -if portage.const.EPREFIX == "" and - (ostype == "DragonFly" or ostype.endswith("BSD")): +if EPREFIX == "" and (ostype == "DragonFly" or ostype.endswith("BSD")): userland = "BSD" else: userland = "GNU"