Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/
Date: Thu, 01 Mar 2012 20:32:53
Message-Id: 1330633872.86fd28940bd83d1f59622adc90cf79712b061952.grobian@gentoo
1 commit: 86fd28940bd83d1f59622adc90cf79712b061952
2 Author: Lucian Poston <lucianposton <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 1 20:31:12 2012 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 20:31:12 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=86fd2894
7
8 _get_global: reference correct variable
9
10 ---
11 pym/portage/data.py | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/pym/portage/data.py b/pym/portage/data.py
15 index be0c853..23734f4 100644
16 --- a/pym/portage/data.py
17 +++ b/pym/portage/data.py
18 @@ -115,7 +115,7 @@ def _get_global(k):
19 portage_gid = 0
20 # PREFIX LOCAL: we need to fix this one day to distinguish prefix vs non-prefix
21 writemsg(colorize("BAD",
22 - _("portage: '%s' user or '%s' group missing." % (_get_global('_portage_uname'), _get_global('_portage_grpname')))) + "\n", noiselevel=-1)
23 + _("portage: '%s' user or '%s' group missing." % (_get_global('_portage_username'), _get_global('_portage_grpname')))) + "\n", noiselevel=-1)
24 writemsg(colorize("BAD",
25 _(" In Prefix Portage this is quite dramatic")) + "\n", noiselevel=-1)
26 writemsg(colorize("BAD",