From b6ab6dd2d291f00ef2a5bca1ecad6191182b6505 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 4 Apr 2009 00:35:58 +0200 Subject: [PATCH] utils.create_hash() if we cant open the file, don't try to parse it, but continue with the next Signed-off-by: Joerg Jaspert --- daklib/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daklib/utils.py b/daklib/utils.py index c1be6b90..651e13ae 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -260,6 +260,7 @@ def create_hash(where, files, hashname, hashfunc): file_handle = open_file(f) except CantOpenError: rejmsg.append("Could not open file %s for checksumming" % (f)) + continue files[f][hash_key(hashname)] = hashfunc(file_handle) -- 2.39.5