diff options
Diffstat (limited to 'pym/portage/data.py')
-rw-r--r-- | pym/portage/data.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py index a8ddf8250..3ae286b34 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -7,13 +7,10 @@ import os, sys, pwd, grp, platform import portage portage.proxy.lazyimport.lazyimport(globals(), + 'portage.output:colorize', 'portage.util:writemsg', ) -from portage.output import colorize -from portage.output import create_color_func -bad = create_color_func("BAD") - ostype=platform.system() userland = None if ostype == "DragonFly" or ostype.endswith("BSD"): @@ -39,7 +36,7 @@ if not lchown: lchown() def portage_group_warning(): - warn_prefix = bad("*** WARNING *** ") + warn_prefix = colorize("BAD", "*** WARNING *** ") mylines = [ "For security reasons, only system administrators should be", "allowed in the portage group. Untrusted users or processes", |