[med-svn] r1640 - trunk/community/infrastructure/scripts
tille at alioth.debian.org
tille at alioth.debian.org
Thu Mar 20 07:03:46 UTC 2008
Author: tille
Date: 2008-03-20 07:03:44 +0000 (Thu, 20 Mar 2008)
New Revision: 1640
Modified:
trunk/community/infrastructure/scripts/cddtasktools.py
Log:
Accept ';' as valid character in URLs (which is used at mentors to separate package names)
Modified: trunk/community/infrastructure/scripts/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/scripts/cddtasktools.py 2008-03-19 08:40:01 UTC (rev 1639)
+++ trunk/community/infrastructure/scripts/cddtasktools.py 2008-03-20 07:03:44 UTC (rev 1640)
@@ -79,7 +79,7 @@
# Leave out the first space (line[1:]) instead of strip() because strip
# removes wanted indentation of pre statements
line = line[1:].replace("&", "&").replace("<", "<").replace(">", ">") + ' \n'
- LongDesc += re.sub('([fh]t?tp://[-./\w?=~]+)', '<a href="\\1">\\1</a>', line)
+ LongDesc += re.sub('([fh]t?tp://[-./\w?=~;]+)', '<a href="\\1">\\1</a>', line)
if pre == 1:
LongDesc += "</pre>\n"
return (ShortDesc, LongDesc)
More information about the debian-med-commit
mailing list