Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Aug 15, 2015
1 parent da89a41 commit 5a253c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nikola/nikola.py
Expand Up @@ -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():
Expand All @@ -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):
Expand Down

0 comments on commit 5a253c0

Please sign in to comment.