From: Joerg Jaspert Date: Wed, 28 Oct 2009 13:58:03 +0000 (+0100) Subject: Merge commit 'lamby/master' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c07d8e9ee4c188368fa64dc1f4db0f98d2c9f863;p=dak.git Merge commit 'lamby/master' into merge * commit 'lamby/master': Port check_dsc_files to use get_format_from_string. Make build_file_list to use get_format_from_string and friends. Add get_format_from_string utility method Attach validate_format(...) to each SourceFormat that can reject formats. Split out parse_format to module-level and test it explicitly. Split parsing of "Format:" string and validation of it. Compare None with object identity, not equality "Format: 0.0" is now invalid Add regression tests for parse_format. Move "Format:" field parsing into srcformats.py Signed-off-by: Joerg Jaspert --- c07d8e9ee4c188368fa64dc1f4db0f98d2c9f863