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

[PATCH] tools/dev/contribulyze.py

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-06-23 20:42:02 CEST

Hi Garrett,
Find the attached patch to make contribulze.py smart about the ',' at
the end of 'Patch-by' line.

With regards
Kamesh Jayachandran

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

* tools/dev/contribulyze.py
  remove unused import 'shutil'
  ignore a ',' at the end of Patch-by: line.

]]]

Index: tools/dev/contribulyze.py
===================================================================
--- tools/dev/contribulyze.py (revision 20225)
+++ tools/dev/contribulyze.py (working copy)
@@ -38,7 +38,6 @@
 import os
 import sys
 import re
-import shutil
 import getopt
 try:
   my_getopt = getopt.gnu_getopt
@@ -245,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 Fri Jun 23 20:42:19 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.