[Dehs-devel] r187 - trunk

Raphael Geissert geissert at alioth.debian.org
Fri Sep 24 15:33:56 UTC 2010


Author: geissert
Date: 2010-09-24 15:33:49 +0000 (Fri, 24 Sep 2010)
New Revision: 187

Modified:
   trunk/dehs_pg.php
Log:
Workaround uscan bug


Modified: trunk/dehs_pg.php
===================================================================
--- trunk/dehs_pg.php	2010-09-16 18:29:51 UTC (rev 186)
+++ trunk/dehs_pg.php	2010-09-24 15:33:49 UTC (rev 187)
@@ -759,8 +759,8 @@
     xml_parse_into_struct($p, $uscan_res, $vals, $index);
     xml_parser_free($p);
 
-    $upstream=$vals[$index['UPSTREAM-VERSION'][0]][value];
-    $up_url=$vals[$index['UPSTREAM-URL'][0]][value];
+    list($upstream)=explode("\n", $vals[$index['UPSTREAM-VERSION'][0]][value]);
+    list($up_url)=explode("\n", $vals[$index['UPSTREAM-URL'][0]][value]);
     $deb_vers=$vals[$index['DEBIAN-UVERSION'][0]][value];
     $deb_mangled_vers=$vals[$index['DEBIAN-MANGLED-UVERSION'][0]][value];
     $warnings=$vals[$index['WARNINGS'][0]][value];




More information about the Dehs-devel mailing list