From: Chris Lamb <lamby@debian.org>
Date: Wed, 28 Oct 2009 15:20:06 +0000 (+0000)
Subject: Don't call check_* due when we are running with No-Action
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=be05b200c98704512a6ba907725f6517933a99c5;p=dak.git

Don't call check_* due when we are running with No-Action

Signed-off-by: Chris Lamb <lamby@debian.org>
---

diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py
index 34020205..f7caf303 100755
--- a/dak/process_unchecked.py
+++ b/dak/process_unchecked.py
@@ -497,7 +497,7 @@ def process_it(changes_file):
                 u.check_distributions()
                 u.check_files(not Options["No-Action"])
                 valid_dsc_p = u.check_dsc(not Options["No-Action"])
-                if valid_dsc_p:
+                if valid_dsc_p and not Options["No-Action"]:
                     u.check_source()
                     u.check_lintian()
                 u.check_hashes()