~alai/charms/trusty/contrail-configuration-inc-timeout/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templating.py

  • Committer: Robert Ayres
  • Date: 2015-08-28 10:58:17 UTC
  • Revision ID: robert.ayres@canonical.com-20150828105817-c8ar12o1x0o35uxc
Sync charm helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
try:
30
30
    from jinja2 import FileSystemLoader, ChoiceLoader, Environment, exceptions
31
31
except ImportError:
32
 
    # python-jinja2 may not be installed yet, or we're running unittests.
33
 
    FileSystemLoader = ChoiceLoader = Environment = exceptions = None
 
32
    apt_install('python-jinja2', fatal=True)
 
33
    from jinja2 import FileSystemLoader, ChoiceLoader, Environment, exceptions
34
34
 
35
35
 
36
36
class OSConfigException(Exception):