summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-identity-map.py8
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