Skip to content
Permalink
Browse files

flake8

  • Loading branch information
ralsina committed May 9, 2015
1 parent 8a430d3 commit f6288578b1288e8b60cdd9cf0e107d61648830a8
Showing with 3 additions and 3 deletions.
  1. +3 −3 nikola/plugins/command/new_post.py
@@ -66,9 +66,9 @@ def filter_post_pages(compiler, is_post, compilers, post_pages, compiler_names):
if not filtered:
type_name = "post" if is_post else "page"
LOGGER.error("Can't find a way, using your configuration, to create "
"a {0} in format {1}. You may want to tweak "
"COMPILERS or {2}S in conf.py".format(
type_name, compiler, type_name.upper()))
"a {0} in format {1}. You may want to tweak "
"COMPILERS or {2}S in conf.py".format(
type_name, compiler, type_name.upper()))
sys.exit(1)
return filtered[0]

0 comments on commit f628857

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