Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesroutley committed Jul 12, 2017
1 parent ee45e54 commit bc9774f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sceptre/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def body(self):
if self._body is None:
file_extension = os.path.splitext(self.path)[1]

if file_extension in {".json", ".yaml", "j2"}:
if file_extension in {".json", ".yaml", ".j2"}:
self._body = self._render_jinja_template(
os.path.dirname(self.path),
os.path.basename(self.path),
Expand Down Expand Up @@ -285,7 +285,7 @@ def _render_jinja_template(template_dir, filename, jinja_vars):
:rtype: string
"""
logger = logging.getLogger(__name__)
logger.debug("%s Rendering CloudFormation template", template_dir)
logger.debug("%s Rendering CloudFormation template", filename)
env = jinja2.Environment(
loader=jinja2.FileSystemLoader(template_dir),
undefined=jinja2.StrictUndefined
Expand Down

0 comments on commit bc9774f

Please sign in to comment.