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

[SCM] Debian package checker branch, lab-refactor, updated. 2.5.3-155-gbfd035b



The following commit has been merged in the lab-refactor branch:
commit bfd035be03533019dfa3f80d694f5b4154dd5c84
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Oct 27 18:36:50 2011 +0200

    Lintian::Lab: Return success in create_lab if the lab exists
    
    This fixes a regression in t/scripts/static-lab.t introduced in
    commit 000e7bc7.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Lab.pm b/lib/Lintian/Lab.pm
index cb58778..17611f1 100644
--- a/lib/Lintian/Lab.pm
+++ b/lib/Lintian/Lab.pm
@@ -459,7 +459,7 @@ sub create_lab {
     my $mid = 0;
     my $mode = 0777;
 
-    return if $self->lab_exists;
+    return 1 if $self->lab_exists;
 
     $opts = {} unless $opts;
     $mode = $opts->{'mode'} if exists $opts->{'mode'};

-- 
Debian package checker


Reply to: