[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] tools/dev/contribulyze.py

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-06-24 19:13:26 CEST

Lieven Govaerts wrote:
>
>
>
>> [[[
>> Patch by: Kamesh Jayachandran <kamesh@collab.net>
>>
>> * tools/dev/contribulyze.py
>> (Contributor.parse): ignore a ',' at the end of 'Patch by': line.
>> ]]]
>>
> Does it only check a 'Patch by' line? It seems to work for Found by, Review
> by and Suggested by as well right?
>
>
Yes it does for all types of actions.
Find the attached patch(same patch) and new log.

[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

* tools/dev/contribulyze.py
  (Contributor.parse): Ignore a ',' at the end of
                                   (Patch|Review(ed)?|Suggested|Found)
by: line.
]]]

Index: tools/dev/contribulyze.py
===================================================================
--- tools/dev/contribulyze.py (revision 20240)
+++ tools/dev/contribulyze.py (working copy)
@@ -244,6 +244,8 @@
     username = None
     real_name = None
     email = None
+ if name[-1] == ',':
+ name = name[0:-1]
     name_components = name.split()
     if len(name_components) == 1:
       name = name_components[0] # Effectively, name = name.strip()

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 24 19:12:59 2006

This is an archived mail posted to the Subversion Dev mailing list.