From ef68956d98a286b338cceb509d938f0925789e61 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 7 Apr 2008 21:13:53 +0200 Subject: [PATCH] Check for changes format 1.8 --- ChangeLog | 6 ++++++ daklib/utils.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 558c635c..65b0c7c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-04-07 Joerg Jaspert + + * daklib/utils.py (build_file_list): Check for dpkg .changes + adjusted to reject newer (and right now broken) 1.8 version, until + dpkg (or debsign) is fixed and doesn't produce invalid .changes anymore + 2008-03-22 Anthony Towns * dak/edit_transitions.py: Add --import option. diff --git a/daklib/utils.py b/daklib/utils.py index 665d9928..e3767056 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -240,7 +240,7 @@ def build_file_list(changes, is_a_dsc=0): format = changes.get("format", "") if format != "": format = float(format) - if not is_a_dsc and (format < 1.5 or format > 2.0): + if not is_a_dsc and (format < 1.5 or format > 1.7): raise nk_format_exc, format # Parse each entry/line: -- 2.39.5