Skip to content

Commit

Permalink
str.format is more fun [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 24, 2015
1 parent 063c709 commit 7c205be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/check.py
Expand Up @@ -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
Expand All @@ -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.