Skip to content
Browse files
Forgot to remove method.
  • Loading branch information
felixfontein committed Feb 16, 2017
1 parent 13424f6 commit cfd953eb85309276ba651efe40905acd0e123c3e
Showing with 0 additions and 15 deletions.
  1. +0 −15 nikola/
@@ -910,21 +910,6 @@ def formatted_updated(self, date_format):
"""Return the updated date as unicode."""
return self.formatted_date(date_format, self.updated)

def write_depfile(dest, deps_list, post=None, lang=None):
"""Write a depfile for a given language."""
if post is None or lang is None:
deps_path = dest + '.dep'
deps_path = post.compiler.get_dep_filename(post, lang)
if deps_list or (post.compiler.use_dep_file if post else False):
deps_list = [p for p in deps_list if p != dest] # Don't depend on yourself (#1671)
with, "w+", encoding="utf8") as deps_file:
if os.path.isfile(deps_path):

def deps(self, lang):
"""Return a list of file dependencies to build this post's page."""
deps = super(Post, self).deps(lang)

0 comments on commit cfd953e

Please sign in to comment.