From 980c3ff4501898f07eb67ba2eea2ec23c1794d05 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Dec 2007 09:30:04 +0000 Subject: Move the USERLAND and XARGS sanity checks from the portage_data mule to doebuild(). svn path=/main/branches/2.1.2/; revision=9091 --- pym/portage_data.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pym/portage_data.py') diff --git a/pym/portage_data.py b/pym/portage_data.py index deea8940b..5cb88b385 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -29,9 +29,6 @@ elif ostype == "Darwin": elif ostype.endswith("BSD") or ostype =="DragonFly": userland="BSD" os.environ["XARGS"]="xargs" -else: - writemsg(red("Operating system")+" \""+ostype+"\" "+red("currently unsupported. Exiting.")+"\n") - sys.exit(1) if not lchown: if "lchown" in dir(os): @@ -47,8 +44,6 @@ if not lchown: " exist. Please rebuild python.\n", noiselevel=-1) lchown() -os.environ["USERLAND"]=userland - def portage_group_warning(): warn_prefix = bad("*** WARNING *** ") mylines = [ -- cgit v1.2.3-1-g7c22