1. TortoiseLabs LLC
  2. Untitled project
  3. appliancekit-ng

Commits

William Pitcock  committed 342b4f6

globals: add isinstance() and dict types

  • Participants
  • Parent commits 4488e95
  • Branches master

Comments (0)

Files changed (1)

File appliancekit/__init__.py

View file
 """
 
 from jinja2 import Environment, PackageLoader
+
 env = Environment(loader=PackageLoader(__name__, 'specs'))
+env.globals['isinstance'] = isinstance
+env.globals['dict'] = dict
 
 import appliancekit.compiler
 import appliancekit.axml