From: Mark Hymers Date: Fri, 8 Aug 2008 20:12:38 +0000 (+0000) Subject: fix typos X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3203b8ab4cec37837e3ff2d38ed64c49332ccc3e;p=dak fix typos Signed-off-by: Mark Hymers --- diff --git a/daklib/database.py b/daklib/database.py index cad427ac..b2b55a78 100755 --- a/daklib/database.py +++ b/daklib/database.py @@ -317,7 +317,7 @@ def get_or_set_fingerprint_id (fingerprint): ################################################################################ -def get_files_id (filename, size, md5sum, sha1sum, sha256sum location_id): +def get_files_id (filename, size, md5sum, sha1sum, sha256sum, location_id): global files_id_cache cache_key = "%s_%d" % (filename, location_id) @@ -365,7 +365,7 @@ def get_or_set_queue_id (queue): def set_files_id (filename, size, md5sum, sha1sum, sha256sum, location_id): global files_id_cache - projectB.query("INSERT INTO files (filename, size, md5sum, sha1sum, sha256sum, location) VALUES ('%s', %d, '%s', %d)" % (filename, long(size), md5sum, sha1sum, sha256sum location_id)) + projectB.query("INSERT INTO files (filename, size, md5sum, sha1sum, sha256sum, location) VALUES ('%s', %d, '%s', %d)" % (filename, long(size), md5sum, sha1sum, sha256sum, location_id)) return get_files_id (filename, size, md5sum, sha1sum, sha256sum, location_id)