_get_global: substitute with existing variable, bug #398805
authorFabian Groffen <grobian@gentoo.org>
Wed, 18 Jan 2012 07:58:30 +0000 (08:58 +0100)
committerFabian Groffen <grobian@gentoo.org>
Wed, 18 Jan 2012 07:58:30 +0000 (08:58 +0100)
pym/portage/data.py

index a136093a47cade53e9e53f4ff35c5d31b23a0550..be0c85302fa7ab31fc652bf52b74c93a6f09037d 100644 (file)
@@ -197,7 +197,7 @@ def _get_global(k):
                if v is None:
                        # PREFIX LOCAL: use var iso hardwired 'portage'
                        if k == '_portage_grpname':
-                               v = PORTAGE_GRPNAME
+                               v = PORTAGE_GROUPNAME
                        else:
                                v = PORTAGE_USERNAME
                        # END PREFIX LOCAL