Fix template loading paths in generate_extension.py

Review Request #8057 — Created March 14, 2016 and submitted

Information

Review Board
release-2.0.x
e68b521...

Reviewers

generate_extension wasn't possible (or at least not easy) to use from a
development installation, because it was using jinja2.PackageLoader to load
the templates. This change switches over to using the FileSystemLoader.

Generated an extension.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        contrib/tools/generate_extension.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        contrib/tools/generate_extension.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (87f2699)