--- FindDupFiles.py.orig 2008-11-30 17:06:57.000000000 +0100 +++ FindDupFiles.py 2008-11-30 17:08:17.000000000 +0100 @@ -139,7 +139,7 @@ # file exists and is not a symbolic link elif os.path.exists(path): # get the file size - size = os.path.getsize(path) + size = round(os.path.getsize(path) / 16384 + 0.5) # create a new list for previously unseen file sizes # the list will be initialized with an empty list for @@ -179,9 +179,9 @@ f = open(fname,'rb') data = f.read(MD5_UPDATE_SIZE) - while len(data) > 0: - m.update(data) - data = f.read(MD5_UPDATE_SIZE) + #while len(data) > 0: + m.update(data) + #data = f.read(MD5_UPDATE_SIZE) return m.hexdigest()