2008-09-08 Philipp Kern <pkern@debian.org>
* daklib/utils.py (build_file_list): do not die on very
old dsc files without format header
Signed-off-by: Philipp Kern <pkern@debian.org>
before the sha1sum/sha256sum checks as they got seeked by
md5sum
+ * daklib/utils.py (build_file_list): do not die on very
+ old dsc files without format header
+
2008-09-07 Philipp Kern <pkern@debian.org>
* daklib/utils.py (check_hash): try..except..finally only
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)):