]> err.no Git - dak/commit
fix generate_index_diffs' smartopen by replacing it with a smartread
authorMike O'Connor <stew@vireo.org>
Wed, 21 Jan 2009 22:58:13 +0000 (17:58 -0500)
committerMike O'Connor <stew@vireo.org>
Wed, 21 Jan 2009 22:58:13 +0000 (17:58 -0500)
commit51aaf8ec6285ad388faf7641b39df185b12a3248
tree49a32c51860249ff5cd73acf72430e2898105e8e
parentc10ac61ee410b4f10a96202b65f53b69418e2700
fix generate_index_diffs' smartopen by replacing it with a smartread

smartread slurps the contents of the file into a string, we need to do this
becuase apt_pkg.sha1sum won't accept a 'gzip open file' but will accept a
string

Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/generate_index_diffs.py