* broken symlinks have SHA1 None, but this still sounds buggy

This commit is contained in:
Eray Özkural
2005-10-12 10:34:02 +00:00
parent 2e9cad42c8
commit 21a8d87764
+1 -1
View File
@@ -265,7 +265,7 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None):
try: try:
return func(f) return func(f)
except FileError: except FileError:
return "0" return None
# also handle single files # also handle single files
if os.path.isfile(top): if os.path.isfile(top):