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):