~johnsca/charms/trusty/cf-cloud-controller/refactor

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/core/templating.py

  • Committer: Cory Johns
  • Date: 2014-05-16 23:33:25 UTC
  • Revision ID: cory.johns@canonical.com-20140516233325-xkug0w1zdxgi52r1
Synced refactored charm-helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
    generators were able to collect the information needed to render the
136
136
    template) and were rendered.
137
137
    """
 
138
    # lazy import jinja2 in case templating is needed in install hook
138
139
    from jinja2 import FileSystemLoader, Environment, exceptions
139
140
    all_complete = True
140
141
    if templates_dir is None: