Skip to content
Permalink
Browse files
lit
  • Loading branch information
ralsina committed Aug 20, 2016
1 parent 70e17e7 commit e543e7f6de0108d75d5614b99eeebdc18b2899f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
@@ -161,7 +161,6 @@ def __init__(
for lang in sorted(self.translated_to):
default_metadata.update(self.meta[lang])


# Load data field from metadata
self.data = Functionary(lambda: None, self.default_lang)
for lang in self.translations:
@@ -231,8 +230,6 @@ def __init__(
self.use_in_feeds = use_in_feeds and not is_draft and not is_private \
and not self.publish_later



# Register potential extra dependencies
self.compiler.register_extra_dependencies(self)

@@ -1915,6 +1915,7 @@ def prefixed_lines():
yield (prefix + line if predicate(line) else line)
return ''.join(prefixed_lines())


def load_data(path):
"""Given path to a file, load data from it."""
ext = os.path.splitext(path)[-1]

0 comments on commit e543e7f

Please sign in to comment.