From 9b7c437709024ddca4aa605a5ba3918cb4545bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sat, 2 Jul 2005 01:11:00 +0000 Subject: [PATCH] file bir built-in --- pisi/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/util.py b/pisi/util.py index 6200af6d..bf6a1d62 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -186,8 +186,8 @@ def get_file_hashes(top, excludePrefixes=None, removePrefix=None): if [e for e in excludePrefixes if p.startswith(e)]: continue - for file in files: - f = os.path.join(root, file) + for fname in files: + f = os.path.join(root, fname) yield (f, sha1_file(f)) def copy_dir(src, dest):