[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r1303 - in trunk: checks debian



Author: djpig
Date: 2008-05-06 20:21:21 +0200 (Tue, 06 May 2008)
New Revision: 1303

Modified:
   trunk/checks/menu-format
   trunk/debian/changelog
Log:
* checks/menu-format:
  + Don't issue false positives about menu files in format menu-2.
    We don't check them for errors yet, though.  (Closes: #478578)


Modified: trunk/checks/menu-format
===================================================================
--- trunk/checks/menu-format	2008-05-06 17:05:57 UTC (rev 1302)
+++ trunk/checks/menu-format	2008-05-06 18:21:21 UTC (rev 1303)
@@ -452,6 +452,10 @@
 	tag "old-format-menu-file", $fullname;
 	close IN;
 	next;
+    } elsif ($menufile_line =~ m/^!C\s*menu-2/o) {
+	# we can't parse that yet
+	close IN;
+	next;
     }
 
     # Parse entire file as a new format menu file.
@@ -464,7 +468,7 @@
 	if ($menufile_line =~ m/^\s*\#/o) {
 	    next;
 	}
-	    $line .= $menufile_line;
+	$line .= $menufile_line;
 	# Note that I allow whitespace after the continuation character.
 	# This is caught by VerifyLine().
 	if (! ($menufile_line =~ m/\\\s*?$/)) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-06 17:05:57 UTC (rev 1302)
+++ trunk/debian/changelog	2008-05-06 18:21:21 UTC (rev 1303)
@@ -3,8 +3,11 @@
   * checks/debhelper:
     + [FL] dh_lintian needs debhelper >= 6.0.7. Patch by David Paleino.
       (Closes: #479088)
+  * checks/menu-format:
+    + [FL] Don't issue false positives about menu files in format menu-2.
+      We don't check them for errors yet, though.  (Closes: #478578)
 
- -- Frank Lichtenheld <djpig@debian.org>  Tue, 06 May 2008 19:04:39 +0200
+ -- Frank Lichtenheld <djpig@debian.org>  Tue, 06 May 2008 20:01:56 +0200
 
 lintian (1.23.48) unstable; urgency=low
 


Reply to: