From 7e940fe47f005dba87afa7a0257c383aee45e04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 30 Aug 2005 20:15:00 +0000 Subject: [PATCH] fix... --- pisi/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index be54cc3f..c939086b 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -238,7 +238,8 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None): # also handle single files if os.path.isfile(top): - return top, sha1_file(top) + yield (top, sha1_file(top)) + return def has_excluded_prefix(filename): if exclude_prefix and removePrefix: