[PATCH 18/21] Remove 'print-svn-authors'
Felipe Contreras
felipe.contreras at gmail.com
Sun May 13 10:14:26 EDT 2012
It's not relevant any more. And it doesn't work after last patch.
Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
print-svn-authors.py | 29 -----------------------------
1 file changed, 29 deletions(-)
delete mode 100755 print-svn-authors.py
diff --git a/print-svn-authors.py b/print-svn-authors.py
deleted file mode 100755
index 4075b09..0000000
--- a/print-svn-authors.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python
-# vim: ai ts=4 sts=4 et sw=4
-
-import os
-import sys
-
-author_map = {}
-with open("authormap", "r") as f:
- for l in f:
- author, name = l.rstrip().split(" = ")
- if author and name:
- author_map[author.lower()] = name
-
-svn_authormap = {}
-with open("svn-patch-authors", "r") as f:
- for l in f:
- l = l.replace(" # ", " ").strip()
- index = l.index(" ")
- revision = l[:index]
- author = l[index+1:]
- try:
- tmp = author[:author.index("(")].strip()
- except ValueError:
- tmp = author
- try:
- author = "# " + author_map[tmp.lower()]
- except:
- pass
- print "{revision} {author}".format(revision=revision, author=author)
--
1.7.10.1
More information about the Devel
mailing list