public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/
Date: Wed, 14 Dec 2011 15:29:15 +0000 (UTC)	[thread overview]
Message-ID: <1fd41e665b7c1c404eaf67d981e701d90817f784.grobian@gentoo> (raw)

commit:     1fd41e665b7c1c404eaf67d981e701d90817f784
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 14 15:27:58 2011 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 14 15:27:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1fd41e66

Resolve conflict.

Long ago, VCSs would warn when you would want to commit conflict
markers.

---
 pym/portage/data.py |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/pym/portage/data.py b/pym/portage/data.py
index 5651e7d..b2aac06 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -90,10 +90,6 @@ def _get_global(k):
 			secpass = 2
 		#Discover the uid and gid of the portage user/group
 		try:
-<<<<<<< HEAD
-=======
-			portage_uid = pwd.getpwnam(_get_global('_portage_username')).pw_uid
->>>>>>> overlays-gentoo-org/master
 			portage_gid = grp.getgrnam(_get_global('_portage_grpname')).gr_gid
 		except KeyError:
 			# PREFIX LOCAL: some sysadmins are insane, bug #344307
@@ -103,7 +99,7 @@ def _get_global(k):
 				portage_gid = None
 			# END PREFIX LOCAL
 		try:
-			portage_uid = pwd.getpwnam(_get_global('_portage_uname')).pw_uid
+			portage_uid = pwd.getpwnam(_get_global('_portage_username')).pw_uid
 			if secpass < 1 and portage_gid in os.getgroups():
 				secpass = 1
 		except KeyError:



             reply	other threads:[~2011-12-14 15:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 15:29 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-18 19:46 [gentoo-commits] proj/portage:prefix commit in: pym/portage/ Fabian Groffen
2017-12-12  8:13 Fabian Groffen
2013-01-27 21:51 Fabian Groffen
2012-10-02 11:59 Fabian Groffen
2012-09-30 11:10 Fabian Groffen
2012-09-30 11:10 Fabian Groffen
2012-03-01 20:32 Fabian Groffen
2012-01-18  7:58 Fabian Groffen
2011-12-10 12:55 Fabian Groffen
2011-12-10 12:12 Fabian Groffen
2011-12-10 12:06 Fabian Groffen
2011-12-09 20:39 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1fd41e665b7c1c404eaf67d981e701d90817f784.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox