From ef57c4a04d68ba2f4f29732e0e3bd812d40ea756 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Tue, 28 Jan 2014 12:51:29 +0100 Subject: [PATCH] replaced % operator with .format() --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e3aaaf3..e8f05fb 100644 --- a/README.rst +++ b/README.rst @@ -28,7 +28,7 @@ Perform custom action from sweeper import iter_file_dups for files in iter_file_dups(['images']): for fname in files: - print('found duplicate file with name: %s' % fname) + print('found duplicate file with name: {}'.format(fname)) As script::