From 9e37b02a3bdc001b04b8a4346edbef4a69f42c0d Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Tue, 5 Jan 2010 21:32:46 +0000 Subject: [PATCH] process-upload Ensure source package is valid and can be extracted correctly before trying to launch lintian checks on it Signed-off-by: Luca Falavigna --- dak/process_upload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dak/process_upload.py b/dak/process_upload.py index 0f50137c..88f7cb58 100755 --- a/dak/process_upload.py +++ b/dak/process_upload.py @@ -394,8 +394,9 @@ def process_it(changes_file, session): valid_dsc_p = u.check_dsc(not Options["No-Action"]) if valid_dsc_p and not Options["No-Action"]: u.check_source() - u.check_lintian() u.check_hashes() + if valid_dsc_p and not len(u.rejects): + u.check_lintian() u.check_urgency() u.check_timestamps() u.check_signed_by_key() -- 2.39.5