Skip to content
Permalink
Browse files
Clean up copy-paste mixups
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent 4637b40 commit d209432f3a4b2dee007e0af4139cd12b1d1590e4
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/nikola.py
@@ -2147,7 +2147,7 @@ def generic_renderer(self, lang, output_name, template_name, filters, file_deps=
deps_dict['OUTPUT_FOLDER'] = self.config['OUTPUT_FOLDER']
deps_dict['TRANSLATIONS'] = self.config['TRANSLATIONS']
deps_dict['global'] = self.GLOBAL_CONTEXT
deps_dict["all_page_dependencies"] = self.ALL_PAGE_DEPENDENCIES
deps_dict['all_page_dependencies'] = self.ALL_PAGE_DEPENDENCIES
if post_deps_dict:
deps_dict.update(post_deps_dict)

@@ -2288,7 +2288,7 @@ def atom_link(link_rel, link_type, link_href):
for k in self._GLOBAL_CONTEXT_TRANSLATABLE:
deps_context[k] = deps_context['global'][k](lang)
for k in self._ALL_PAGE_DEPENDENCIES_TRANSLATABLE:
deps_dict[k] = deps_dict['all_page_dependencies'][k](lang)
deps_context[k] = deps_context['all_page_dependencies'][k](lang)

deps_context['navigation_links'] = deps_context['global']['navigation_links'](lang)

0 comments on commit d209432

Please sign in to comment.