ee0732a42bdd614baf0e065326f1f6872a041d3a,src/python/pants/backend/core/tasks/markdown_to_html.py,MarkdownToHtml,__init__,#MarkdownToHtml#,213
Before Change
self._templates_dir = os.path.join("templates", "markdown")
self.open = self.context.options.markdown_to_html_open
self.extensions = set(
self.context.options.markdown_to_html_extensions or
self.context.config.getlist("markdown-to-html",
"extensions",
default=[".md", ".markdown"])
)
self.fragment = self.context.options.markdown_to_html_fragment
self.code_style = self.context.config.get("markdown-to-html", "code-style", default="friendly")
if hasattr(self.context.options, "markdown_to_html_code_style"):
if self.context.options.markdown_to_html_code_style:
self.code_style = self.context.options.markdown_to_html_code_style
def execute(self):
// TODO(John Sirois): consider adding change detection
After Change
super(MarkdownToHtml, self).__init__(*args, **kwargs)
self._templates_dir = os.path.join("templates", "markdown")
self.open = self.get_options().open
self.extensions = set(self.get_options().extension)
self.fragment = self.get_options().fragment
self.code_style = self.get_options().code_style
def execute(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: pantsbuild/pants
Commit Name: ee0732a42bdd614baf0e065326f1f6872a041d3a
Time: 2014-11-04
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/markdown_to_html.py
Class Name: MarkdownToHtml
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 6ffda41d1538a5f8e6eab953346a95505c84c40c
Time: 2014-01-17
Author: travis@twitter.com
File Name: src/python/twitter/pants/python/resolver.py
Class Name: MultiResolver
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: ee0732a42bdd614baf0e065326f1f6872a041d3a
Time: 2014-11-04
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/markdown_to_html.py
Class Name: MarkdownToHtml
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 7a8c495c44f49175d381fccfab93c226cde47c9a
Time: 2015-01-29
Author: fedor.korotkov@gmail.com
File Name: src/python/pants/backend/jvm/tasks/ivy_resolve.py
Class Name: IvyResolve
Method Name: confs