Skip to content
Permalink
Browse files
use identifiers in config_changed
  • Loading branch information
ralsina committed Jan 17, 2015
1 parent 4200a02 commit a6c8af0c0616d501c90d4872d7e4b1d62d90c309
@@ -101,4 +101,4 @@ def create_post(self, path, **kw):

def register_extra_dependencies(self, post):
"""Adds dependency to post object to check .dep file."""
post.add_dependency_uptodate(config_changed({1: self.enabled_extensions}))
post.add_dependency_uptodate(config_changed({1: self.enabled_extensions}, self.name))
@@ -73,4 +73,4 @@ def create_post(self, path, **kw):

def register_extra_dependencies(self, post):
"""Adds dependency to post object to check .dep file."""
post.add_dependency_uptodate(config_changed({1: self.site.config['PANDOC_OPTIONS']}))
post.add_dependency_uptodate(config_changed({1: self.site.config['PANDOC_OPTIONS']}, self.name))
@@ -63,7 +63,7 @@ def _read_extra_deps(self, post):
def register_extra_dependencies(self, post):
"""Adds dependency to post object to check .dep file."""
post.add_dependency(lambda: self._read_extra_deps(post), 'fragment')
post.add_dependency_uptodate(config_changed({1: self.enabled_plugins}))
post.add_dependency_uptodate(config_changed({1: self.enabled_plugins}, self.name))

def compile_html(self, source, dest, is_two_file=True):
"""Compile reSt into HTML."""

0 comments on commit a6c8af0

Please sign in to comment.