diff --git a/pisi/util.py b/pisi/util.py index a61afdb0..1f280d84 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -247,8 +247,6 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None): for p in exclude_prefix: if tempfnam.startswith(p): return 1 - else: - return 0 return 0 for root, dirs, files in os.walk(top, topdown=False):