]> git.donarmstrong.com Git - dak.git/commitdiff
Check for changes format 1.8
authorJoerg Jaspert <joerg@debian.org>
Mon, 7 Apr 2008 19:13:53 +0000 (21:13 +0200)
committerJoerg Jaspert <joerg@debian.org>
Mon, 7 Apr 2008 19:13:53 +0000 (21:13 +0200)
ChangeLog
daklib/utils.py

index 558c635c9eeec65783a78f48c0cda6e057424a50..65b0c7c5d0b1c89e2dbb7eba496125e21025a534 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-07  Joerg Jaspert  <joerg@debian.org>
+
+       * 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  <ajt@debian.org>
 
        * dak/edit_transitions.py: Add --import option.
index 665d9928085372101de6c88490488a7513e2a275..e376705665650b2c97d3348faa5a5bd230cedcc3 100755 (executable)
@@ -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: