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

[SCM] Debian package checker branch, master, updated. 2.5.10-56-g3a62926



The following commit has been merged in the master branch:
commit 4d53cadefc3ef38cd9464b4e799bbb7bde2b8aff
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Jul 17 10:03:20 2012 +0200

    lintian: Check the resolver earlier
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/frontend/lintian b/frontend/lintian
index 9915501..4948da2 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1100,6 +1100,12 @@ for my $c (@scripts) {
         $map->addp('check-' . $c, 'coll-', $cs->needs_info);
     }
 }
+
+# Make sure the resolver is in a sane state:
+scalar ($map->missing) == 0
+    or fail ('There are missing nodes on the resolver: '.join (', ', $map->missing));
+undef $map;
+
 # }}}
 
 # {{{ Okay, now really processing the packages in one huge loop
@@ -1113,12 +1119,6 @@ debug_msg(1,
     );
 
 
-# Make sure the resolver is in a sane state:
-scalar($map->missing()) == 0
-    or fail('There are missing nodes on the resolver: '.join(', ', $map->missing()));
-undef $map;
-
-
 # Now action is always either "check" or "unpack"
 # these two variables are used by process_package
 #  and need to persist between invocations.

-- 
Debian package checker


Reply to: