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

tille at alioth.debian.org tille at alioth.debian.org
Sat Mar 1 10:02:52 UTC 2008


Author: tille
Date: 2008-03-01 10:02:52 +0000 (Sat, 01 Mar 2008)
New Revision: 1489

Modified:
   trunk/community/infrastructure/scripts/update-tasks
Log:
Another try for a fix


Modified: trunk/community/infrastructure/scripts/update-tasks
===================================================================
--- trunk/community/infrastructure/scripts/update-tasks	2008-03-01 09:54:00 UTC (rev 1488)
+++ trunk/community/infrastructure/scripts/update-tasks	2008-03-01 10:02:52 UTC (rev 1489)
@@ -119,7 +119,8 @@
 	node.version.content = "Version: %s" % deppkg.version
 	if deppkg.license != None:
 		node.license.content = "License: %s" % deppkg.license
-	node.pkgurl.atts['href'] = deppkg.pkgURL
+	# In case some '&' made it up to this place
+	node.pkgurl.atts['href'] = deppkg.pkgURL.replace("&", "%3F")
 	node.pkgurl.content = "Official Debian package"
 	node.deburl.atts['href'] = deppkg.filename
 	#~ node.deburl.content = "X" ### TODO: add a nice icon here to download the .deb package
@@ -143,7 +144,8 @@
 	node.url.atts['href'] = deppkg.homepage
 	node.url.content = deppkg.homepage
 	node.license.content = "License: %s" % deppkg.license
-	node.pkgurl.atts['href'] = deppkg.pkgURL
+	# In case some '&' made it up to this place
+	node.pkgurl.atts['href'] = deppkg.pkgURL.replace("&", "%3F")
 	node.pkgurl.content = "Unofficial Debian package"
 	if deppkg.responsible:
 		node.responsible.content = deppkg.responsible




More information about the debian-med-commit mailing list