[lintian] 01/02: c/menu-format.pm: Apply perltidy
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 4ffee9af9644e1f8a0fc77c13ec8dbc7957a4395
Author: Niels Thykier <niels@thykier.net>
Date: Sun Aug 10 12:33:42 2014 +0200
c/menu-format.pm: Apply perltidy
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/menu-format.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/menu-format.pm b/checks/menu-format.pm
index b68411a..de7f9e6 100644
--- a/checks/menu-format.pm
+++ b/checks/menu-format.pm
@@ -704,7 +704,8 @@ sub verify_desktop_file {
# Check that the Exec tag specifies how to pass a filename if MimeType
# tags are present.
if ($file =~ m,^usr/share/applications/, and defined $vals{'MimeType'}) {
- unless(defined $vals{'Exec'} and $vals{'Exec'} =~ m,(^|[^%])%[fFuU]/,) {
+ unless(defined $vals{'Exec'}
+ and $vals{'Exec'} =~ m,(?:^|[^%])%[fFuU]/,){
tag 'desktop-mime-but-no-exec-code', $file;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: