Now we use the new PORTAGE_USERNAME and PORTAGE_GROUPNAME, let them be initialised...
authorFabian Groffen <grobian@gentoo.org>
Fri, 26 Mar 2010 08:31:06 +0000 (09:31 +0100)
committerFabian Groffen <grobian@gentoo.org>
Fri, 26 Mar 2010 08:31:06 +0000 (09:31 +0100)
pym/portage/const.py

index 82953ce5b814773ab7544cefbf5b8efbb9daa18a..472c63f980e1936af5d8e4572850e402555e15fc 100644 (file)
@@ -78,8 +78,8 @@ BASH_BINARY              = PORTAGE_BASH
 MOVE_BINARY              = PORTAGE_MV
 PRELINK_BINARY           = EPREFIX + "/usr/sbin/prelink"
 
-PORTAGE_GROUPNAME        = os.environ.get("PORTAGE_GROUPNAME", 'portage')
-PORTAGE_USERNAME         = os.environ.get("PORTAGE_USERNAME", 'portage')
+PORTAGE_GROUPNAME        = os.environ.get("PORTAGE_GROUPNAME", portagegroup)
+PORTAGE_USERNAME         = os.environ.get("PORTAGE_USERNAME", portageuser)
 
 INVALID_ENV_FILE         = "/etc/spork/is/not/valid/profile.env"
 REPO_NAME_FILE           = "repo_name"