public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/userinfo-scripts:master commit in: /
Date: Sun,  6 May 2012 16:17:48 +0000 (UTC)	[thread overview]
Message-ID: <1336320945.fe823abcce4629f5da6a7e93173548547409653f.sping@gentoo> (raw)

commit:     fe823abcce4629f5da6a7e93173548547409653f
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun May  6 16:15:45 2012 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May  6 16:15:45 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=fe823abc

Simplify produce_line()

---
 git-identity-map.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/git-identity-map.py b/git-identity-map.py
index 2f8aee4..05dad60 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -8,8 +8,8 @@ import xml.etree.ElementTree as ET  # Python 2.5
 import sys
 
 
-def produce_line(svn_nick, realname, gentoo_nick):
-	line = '%s = %s <%s@gentoo.org>' % (svn_nick, realname, gentoo_nick)
+def produce_line(gentoo_nick, realname):
+	line = '%s = %s <%s@gentoo.org>' % (gentoo_nick, realname, gentoo_nick)
 	print(line.encode('utf-8'))
 
 
@@ -29,10 +29,10 @@ def main(args):
 		location = user.find('location')
 		realname = user.find('realname').attrib['fullname'].strip()
 
-		produce_line(svn_nick, realname, svn_nick)
+		produce_line(svn_nick, realname)
 
 		if svn_nick == 'fauli':
-			produce_line('opfer', realname, 'opfer')
+			produce_line('opfer', realname)
 
 	return 0
 



             reply	other threads:[~2012-05-06 16:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 16:17 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-12 18:22 [gentoo-commits] proj/userinfo-scripts:master commit in: / Sebastian Pipping
2014-07-12 18:22 Sebastian Pipping
2014-06-22 23:26 Sebastian Pipping
2014-06-22 22:14 Sebastian Pipping
2014-06-15 19:00 Sebastian Pipping
2013-05-23 23:41 Sebastian Pipping
2013-05-07  0:41 Sebastian Pipping
2013-05-07  0:41 Sebastian Pipping
2012-11-11 20:59 Sebastian Pipping
2012-11-11 17:55 Sebastian Pipping
2012-11-11 17:55 Sebastian Pipping
2012-05-06 16:02 Sebastian Pipping
2012-05-06 15:32 Sebastian Pipping
2012-05-06 15:32 Sebastian Pipping
2012-03-25  0:47 Sebastian Pipping

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=1336320945.fe823abcce4629f5da6a7e93173548547409653f.sping@gentoo \
    --to=sping@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