]> git.decadent.org.uk Git - dak.git/commitdiff
allow empty lines but nothing else
authorJoerg Jaspert <joerg@debian.org>
Thu, 26 May 2011 17:17:03 +0000 (19:17 +0200)
committerJoerg Jaspert <joerg@debian.org>
Thu, 26 May 2011 17:17:03 +0000 (19:17 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
tools/debianqueued-0.9/debianqueued

index 048276ca15e0c97b7d409bbd5023a8954b9e5418..b0898674aadd8cce63551dfd493bbced0c673f70 100755 (executable)
@@ -720,7 +720,7 @@ outer_loop: while (<CHANGES>) {
       next;
     }
     if ( $pgplines < 1 or $pgplines >= 3 ) {
-      $extralines++;
+      $extralines++ if length;
       next;
     }
     if (/^Maintainer:\s*/i) {