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

lintian: r733 - trunk/checks



Author: rra
Date: 2006-08-30 01:04:38 +0200 (Wed, 30 Aug 2006)
New Revision: 733

Modified:
   trunk/checks/fields
Log:
When switching from a string comparison to a regex, it's helpful to switch
the operator from eq to =~.


Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-08-29 23:03:47 UTC (rev 732)
+++ trunk/checks/fields	2006-08-29 23:04:38 UTC (rev 733)
@@ -430,7 +430,7 @@
 					    if ($d_pkg eq "libdb1-compat" && $pkg !~ /^libc(6|6.1|0.3)/ && $field =~ /^(pre-)depends$/);
 
 					tag "depends-on-python-minimal", "$field",
-					    if ($d_pkg eq "python[\d.]*-minimal" && &$is_dep_field($field));
+					    if ($d_pkg =~ /python[\d.]*-minimal/ && &$is_dep_field($field));
 
 					tag "doc-package-depends-on-main-package", "$field"
 					    if ("$d_pkg-doc" eq $pkg && $field =~ /^(pre-)depends$/);



Reply to: