This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 29e952076d0f4cfe60e90b5bb01f612faf3a66ae
Author: Chris Lamb <la...@debian.org>
Date:   Mon Apr 9 08:46:31 2018 +0100

    lib/Lintian/Collect/Package.pm: Allow optional seconds field in line 
parsing regex too.
---
 lib/Lintian/Collect/Package.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Lintian/Collect/Package.pm b/lib/Lintian/Collect/Package.pm
index cb31a22..2f9c46c 100644
--- a/lib/Lintian/Collect/Package.pm
+++ b/lib/Lintian/Collect/Package.pm
@@ -445,7 +445,7 @@ sub _fetch_index_data {
         # "fake" dates.
         ($perm,$ownership,$size,$date,$time,$name)
           = $line
-          =~ /^([-drwx]{10}) (.*?) (\d+) (\d{4}-\d\d-\d\d) (\d\d:\d\d) (.*)$/;
+          =~ /^([-drwx]{10}) (.*?) (\d+) (\d{4}-\d\d-\d\d) ([:\d]{5,8}) (.*)$/;
         $ownership =~ s/\s+$//;
 
         $file{'date_time'} = "${date} ${time}";

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git

Reply via email to