Skip to content
Permalink
Browse files
flake8
  • Loading branch information
ralsina committed Aug 15, 2015
1 parent da89a41 commit 5a253c0c3330e47f8acc75e7db8a40e7f136666b
Showing with 1 addition and 2 deletions.
  1. +1 −2 nikola/nikola.py
@@ -716,7 +716,6 @@ def __init__(self, **config):
os.path.expanduser('~/.nikola/plugins'),
] + [utils.sys_encode(path) for path in extra_plugins_dirs if path]


# Store raw compilers for internal use (need a copy for that)
self.config['_COMPILERS_RAW'] = {}
for k, v in self.config['COMPILERS'].items():
@@ -735,7 +734,7 @@ def __init__(self, **config):
# Remove compilers that match nothing in POSTS/PAGES
# And put them in "bad compilers"
pp_exts = set([os.path.splitext(x[0])[1] for x in self.config['post_pages']])
self.config['COMPILERS']={}
self.config['COMPILERS'] = {}
bad_compilers = set([])
for k, v in compilers.items():
if pp_exts.intersection(v):

0 comments on commit 5a253c0

Please sign in to comment.