SVN devscripts commit: r565 - trunk/scripts

Adam D. Barratt adam-guest at alioth.debian.org
Fri Mar 16 17:51:30 CET 2007


Author: adam-guest
Date: 2007-03-16 16:51:30 +0000 (Fri, 16 Mar 2007)
New Revision: 565

Modified:
   trunk/scripts/bts.pl
Log:
The BTS should be using mboxstat for status boxes, but it's currently
using mboxstatus. Treat the two as equivalent so we don't break when the
BTS gets fixed (mboxstatus gives the wrong content, but it's a faithful 
download of what's on the BTS page, so...)


Modified: trunk/scripts/bts.pl
===================================================================
--- trunk/scripts/bts.pl	2007-03-16 15:25:36 UTC (rev 564)
+++ trunk/scripts/bts.pl	2007-03-16 16:51:30 UTC (rev 565)
@@ -2319,7 +2319,7 @@
 	    $msg = 'rawmbox';
 	    $filename = "$bug.raw.mbox";
 	}
-	elsif ($ref =~ /^;mbox=yes;mboxstatus=yes$/) {
+	elsif ($ref =~ /^;mbox=yes;mboxstat(us)?=yes$/) {
 	    $msg = 'statusmbox';
 	    $filename = "$bug.status.mbox";
 	}




More information about the Devscripts-devel mailing list