Mercurial > piecrust2
diff piecrust/importing/jekyll.py @ 297:2823ea40cfac
import: Put importer metadata on the class, and allow return values.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 10 Mar 2015 08:34:45 -0700 |
parents | 52e4d9a1f917 |
children | 28b021be74eb |
line wrap: on
line diff
--- a/piecrust/importing/jekyll.py Sun Mar 08 23:00:01 2015 -0700 +++ b/piecrust/importing/jekyll.py Tue Mar 10 08:34:45 2015 -0700 @@ -13,10 +13,8 @@ class JekyllImporter(FileWalkingImporter): - def __init__(self): - super(JekyllImporter, self).__init__() - self.name = 'jekyll' - self.description = "Imports content from a Jekyll or Octopress blog." + name = 'jekyll' + description = "Imports content from a Jekyll or Octopress blog." def setupParser(self, parser, app): super(JekyllImporter, self).setupParser(parser, app)