portage/__init__ includes userland from portage/data. It doesn't use
authorFabian Groffen <grobian@gentoo.org>
Thu, 5 Apr 2007 20:14:39 +0000 (20:14 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 5 Apr 2007 20:14:39 +0000 (20:14 -0000)
it, so we just define it, and set the value to something stupid.

svn path=/main/branches/prefix/; revision=6338

pym/portage/data.py

index 3cebf5335270aace899a845574767f5cc4e03f09..8e014c145862170569e91c8e9633d8567e6f9fb3 100644 (file)
@@ -14,6 +14,7 @@ from portage.output import create_color_func
 bad = create_color_func("BAD")
 
 ostype=os.uname()[0]
+userland="don't_use_this_thing"        # included by portage, not used
 
 lchown = None
 os.environ["XARGS"]="xargs -r"