Skip to content

Commit

Permalink
Making Codacy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Mar 26, 2017
1 parent 2120fa5 commit 533ec1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/nikola.py
Expand Up @@ -990,7 +990,7 @@ def plugin_position_in_places(plugin):
for data in plugin_list:
plugin_dict[data[2].name].append(data)
result = []
for name, plugins in plugin_dict.items():
for _, plugins in plugin_dict.items():
if len(plugins) > 1:
# Sort by locality
plugins.sort(key=plugin_position_in_places)
Expand Down Expand Up @@ -1109,7 +1109,7 @@ def init_plugins(self, commands_only=False, load_all=False):
to_add.append(p)
for p in self.disabled_compiler_extensions.pop(k, []):
to_add.append(p)
for name, p in self.disabled_compilers.items():
for _, p in self.disabled_compilers.items():
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
for _, plugins in self.disabled_compiler_extensions.items():
for p in plugins:
Expand Down

0 comments on commit 533ec1a

Please sign in to comment.