From: Don Armstrong Date: Sat, 14 Jul 2012 03:50:17 +0000 (-0700) Subject: Fix block stanza X-Git-Tag: release/2.6.0~367^2~1 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=86651d1b3a63c99071943bf26b0d822324ce55a0 Fix block stanza --- diff --git a/Debbugs/Control/Service.pm b/Debbugs/Control/Service.pm index 7b4b44d..239f653 100644 --- a/Debbugs/Control/Service.pm +++ b/Debbugs/Control/Service.pm @@ -488,7 +488,7 @@ sub control_line { $errors++; print {$transcript} "Failed to alter tags of $config{bug} $ref: ".cleanup_eval_fail($@,$debug)."\n"; } - } elsif (m/^(un)?block\s+\#?(-?\d+)\s+(?:by|with)\s+(\S.*)?$/i) { + } elsif ($ctl eq 'block') { my $add_remove = defined $matches[0] && $matches[0] eq 'un'; $ref = $matches[1]; $ref = exists $param{clonebugs}{$ref} ? $param{clonebugs}{$ref} : $ref;