Skip to content

Commit 7c205be

Browse files
committedJul 24, 2015
str.format is more fun [ci skip]
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 063c709 commit 7c205be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎nikola/plugins/command/check.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def scan_files(self):
313313
def clean_files(self):
314314
only_on_output, _ = real_scan_files(self.site)
315315
for f in only_on_output:
316-
self.logger.info('removed: %s' % f)
316+
self.logger.info('removed: {0}'.format(f))
317317
os.unlink(f)
318318

319319
# Find empty directories and remove them
@@ -325,7 +325,7 @@ def clean_files(self):
325325
for d in all_dirs:
326326
try:
327327
os.rmdir(d)
328-
self.logger.info('removed: %s/' % d)
328+
self.logger.info('removed: {0}/'.format(d))
329329
except OSError:
330330
pass
331331
return True

0 commit comments

Comments
 (0)