Skip to content
Permalink
Browse files

str.format is more fun [ci skip]

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 24, 2015
1 parent 063c709 commit 7c205be353890a2167572d891df9480eaee79778
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/command/check.py
@@ -313,7 +313,7 @@ def scan_files(self):
def clean_files(self):
only_on_output, _ = real_scan_files(self.site)
for f in only_on_output:
self.logger.info('removed: %s' % f)
self.logger.info('removed: {0}'.format(f))
os.unlink(f)

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

0 comments on commit 7c205be

Please sign in to comment.
You can’t perform that action at this time.