r56572 - /scripts/patchedit

jozef-guest at users.alioth.debian.org jozef-guest at users.alioth.debian.org
Tue Apr 20 06:25:01 UTC 2010


Author: jozef-guest
Date: Tue Apr 20 06:24:21 2010
New Revision: 56572

URL: http://svn.debian.org/wsvn/?sc=1&rev=56572
Log:
patchedit copy&paste bug fix

Modified:
    scripts/patchedit

Modified: scripts/patchedit
URL: http://svn.debian.org/wsvn/scripts/patchedit?rev=56572&op=diff
==============================================================================
--- scripts/patchedit (original)
+++ scripts/patchedit Tue Apr 20 06:24:21 2010
@@ -234,7 +234,7 @@
 	$tb->ok($patch_content->{'Description'} || $patch_content->{'Subject'}, 'has Description or Subject');
 	$tb->ok($patch_content->{'Origin'} || $patch_content->{'Author'}, 'has Origin or Author');
 	if ($also_optional) {
-		if (scalar (grep { m/Bug-?/ } keys %{$patch_content}), 'has Bug or Bug-???') {
+		if (scalar (grep { m/Bug-?/ } keys %{$patch_content})) {
 			$tb->ok(1, 'has Bug or Bug-???');
 		}
 		else {




More information about the Pkg-perl-cvs-commits mailing list