Author: adam-guest
Date: 2008-09-09 20:56:17 +0000 (Tue, 09 Sep 2008)
New Revision: 1619

Modified:
   trunk/Devscripts/Debbugs.pm
   trunk/debian/changelog
Log:
Debbugs.pm: Special-case the "archive" key in select(). The BTS really
doesn't like it being passed as an array. (Closes: #498201)

Modified: trunk/Devscripts/Debbugs.pm
===================================================================
--- trunk/Devscripts/Debbugs.pm 2008-09-09 17:39:32 UTC (rev 1618)
+++ trunk/Devscripts/Debbugs.pm 2008-09-09 20:56:17 UTC (rev 1619)
@@ -164,7 +164,10 @@
     for my $arg (@args) {
        my ($key,$value) = split /:/, $arg, 2;
        next unless $key;
-       if (exists $valid_keys{$key}) {
+       if ($valid_keys{$key} eq 'archive') {
+           $search_parameters{$valid_keys{$key}} = $value
+               if $value;
+       } elsif (exists $valid_keys{$key}) {
            push @{$search_parameters{$valid_keys{$key}}},
            $value if $value;
        } elsif ($key =~/users?$/) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-09-09 17:39:32 UTC (rev 1618)
+++ trunk/debian/changelog      2008-09-09 20:56:17 UTC (rev 1619)
@@ -26,6 +26,8 @@
     to Frank Lichtenheld for pointing this out via a related bug in lintian.
   * cowpoke: If BUILDD_ROOTCMD is set, use BUILDD_USER for debrsigning, rather
     than root. Patch from Cyril Brulebois. (Closes: #495536)
+  * Debbugs.pm: Special-case the "archive" key in select(). The BTS really
+    doesn't like it being passed as an array. (Closes: #498201)
   * debcommit: When committing to a bzr repository with a message including
     bug closures, pass corresponding --fixes to bzr. Thanks James Westby for
     the patch. (Closes: #496643)



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to