added missing verbose if condition

This commit is contained in:
Darko Poljak 2014-02-06 14:22:43 +01:00
parent ff0c1a2895
commit 12df9e5a7e
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def file_dups(topdirs=['./'], hashalgs=['md5'], block_size=4096, verbose=False,
if _fbequal(f, fpath):
files_equals = True
break
if not files_equals:
if verbose and not files_equals:
print('\nsame hash value {} but not same bytes for file {}'
' with files {}'.format(hexmd, fpath, dup_files))
else: # when list is empty in safe mode