From 3203b8ab4cec37837e3ff2d38ed64c49332ccc3e Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 8 Aug 2008 20:12:38 +0000 Subject: [PATCH] fix typos Signed-off-by: Mark Hymers --- daklib/database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5