Handle plain emails in annotate's author parsing.
Wed Sep 21 18:36:17 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Handle plain emails in annotate's author parsing.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2015-11-01 07:27:33.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2015-11-01 07:27:33.000000000 +0000
@@ -1055,6 +1055,8 @@
shortau = l.pauthor[left + 1:right]
elif l.pauthor.find(" ") != -1:
shortau = l.pauthor[:l.pauthor.find(" ")]
+ elif right != -1:
+ shortau = l.pauthor[:right]
else:
shortau = l.pauthor