X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=fc1465d1b689bf8495e741d2ae355e57d924ba82;hb=f8996e240d9d0278bce098e23be63db0bcc6fbee;hp=7979344dd3271be2f31ecebbf87ce2768be552e7;hpb=c78191d7291045156d3a36493a41c7dd7741f7bc;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 7979344d..fc1465d1 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -436,7 +436,10 @@ def build_file_list(changes, is_a_dsc=0, field="files", hashname="md5sum"): format = format[:2] if is_a_dsc: - if format != (1,0): + # format = (1,0) are the only formats we currently accept, + # format = (0,0) are missing format headers of which we still + # have some in the archive. + if format != (1,0) and format != (0,0): raise UnknownFormatError, "%s" % (changes.get("format","0.0")) else: if (format < (1,5) or format > (1,8)):