fix example for new iter_file_dups function

This commit is contained in:
Darko Poljak 2014-02-07 13:04:37 +01:00
parent c38d74feb7
commit 4d015b6be8

View file

@ -26,9 +26,8 @@ Perform custom action
.. code:: python
from sweeper import iter_file_dups
for files in iter_file_dups(['images']):
for fname in files:
print('found duplicate file with name: {}'.format(fname))
for f, h, dups in iter_file_dups(['images']):
print('encountered {} which duplicates with already found duplicate files {} with hash {}'.format(f, dups, h))
As script::