_get_global: reference correct variable
authorLucian Poston <lucianposton@gmail.com>
Thu, 1 Mar 2012 20:31:12 +0000 (21:31 +0100)
committerFabian Groffen <grobian@gentoo.org>
Thu, 1 Mar 2012 20:31:12 +0000 (21:31 +0100)
pym/portage/data.py

index be0c85302fa7ab31fc652bf52b74c93a6f09037d..23734f4ea93ad82c15c458768bd7e475df1da065 100644 (file)
@@ -115,7 +115,7 @@ def _get_global(k):
                        portage_gid = 0
                        # PREFIX LOCAL: we need to fix this one day to distinguish prefix vs non-prefix
                        writemsg(colorize("BAD",
-                               _("portage: '%s' user or '%s' group missing." % (_get_global('_portage_uname'), _get_global('_portage_grpname')))) + "\n", noiselevel=-1)
+                               _("portage: '%s' user or '%s' group missing." % (_get_global('_portage_username'), _get_global('_portage_grpname')))) + "\n", noiselevel=-1)
                        writemsg(colorize("BAD",
                                _("         In Prefix Portage this is quite dramatic")) + "\n", noiselevel=-1)
                        writemsg(colorize("BAD",