Skip to content
Permalink
Browse files

Confused utils with tools.

  • Loading branch information
felixfontein committed Jan 18, 2015
1 parent d5e59cd commit e427784514f56fab571a4594aae6b563946f6393
Showing with 3 additions and 3 deletions.
  1. +3 −3 nikola/post.py
@@ -37,7 +37,7 @@
except ImportError:
from urllib.parse import urljoin # NOQA

from . import tools
from . import utils

import dateutil.tz
import lxml.html
@@ -416,7 +416,7 @@ def deps_uptodate(self, lang):
deps = []
deps += self._get_dependencies(self._dependency_uptodate_page[lang])
deps += self._get_dependencies(self._dependency_uptodate_page[None])
deps.add(tools.config_changed({1: sorted(self.compiler.config_dependencies)}, 'nikola.post.Post.deps_uptodate:compiler:' + self.source_path))
deps.add(utils.config_changed({1: sorted(self.compiler.config_dependencies)}, 'nikola.post.Post.deps_uptodate:compiler:' + self.source_path))
return deps

def compile(self, lang):
@@ -473,7 +473,7 @@ def fragment_deps_uptodate(self, lang):
deps = []
deps += self._get_dependencies(self._dependency_uptodate_fragment[lang])
deps += self._get_dependencies(self._dependency_uptodate_fragment[None])
deps.add(tools.config_changed({1: sorted(self.compiler.config_dependencies)}, 'nikola.post.Post.deps_uptodate:compiler:' + self.source_path))
deps.add(utils.config_changed({1: sorted(self.compiler.config_dependencies)}, 'nikola.post.Post.deps_uptodate:compiler:' + self.source_path))
return deps

def is_translation_available(self, lang):

0 comments on commit e427784

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