From 21a8d87764e0e9d986f7ef5154de7abf2bb63cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Wed, 12 Oct 2005 10:34:02 +0000 Subject: [PATCH] * broken symlinks have SHA1 None, but this still sounds buggy --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index f94cc95f..718dd142 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -265,7 +265,7 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None): try: return func(f) except FileError: - return "0" + return None # also handle single files if os.path.isfile(top):