[med-svn] r1546 - trunk/community/infrastructure/scripts

tille at alioth.debian.org tille at alioth.debian.org
Mon Mar 10 13:13:46 UTC 2008


Author: tille
Date: 2008-03-10 13:13:45 +0000 (Mon, 10 Mar 2008)
New Revision: 1546

Modified:
   trunk/community/infrastructure/scripts/cddtasktools.py
Log:
Turn responsible Tag into Mail address.  Remaining problem to fix: There is only
one single prospective package that lists a responsible person, but much more should.


Modified: trunk/community/infrastructure/scripts/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/scripts/cddtasktools.py	2008-03-10 06:21:29 UTC (rev 1545)
+++ trunk/community/infrastructure/scripts/cddtasktools.py	2008-03-10 13:13:45 UTC (rev 1546)
@@ -307,7 +307,8 @@
                     why = stanza['why']
                     continue
                 if key == 'Responsible':
-                    responsible = stanza['responsible']
+                    responsible = re.sub('\s*(.+)\s+<(.+ at .+)>\s*', '<a href="mailto:\\2">\\1</a>', \
+                		    stanza['responsible'])
                     continue
 
                 if key in dependency_keys:




More information about the debian-med-commit mailing list