Use SHA1 hash by default

This commit is contained in:
Bo Maryniuk 2016-02-12 16:42:08 +01:00
parent 785717703b
commit 0d4e4e31f8

View file

@ -842,7 +842,7 @@ def chgrp(path, group):
return None
def stats(path, hash_type='md5', follow_symlinks=True):
def stats(path, hash_type='sha1', follow_symlinks=True):
'''
Return a dict containing the stats for a given file