From: Joerg Jaspert Date: Mon, 7 Apr 2008 19:13:53 +0000 (+0200) Subject: Check for changes format 1.8 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ef68956d98a286b338cceb509d938f0925789e61;p=dak.git Check for changes format 1.8 --- 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: