If an absolute path is passed to the compiler the following error is thrown:
>>> compiler.compile(hbs_template, path='/home/vagrant/contentwidgets/templates')
File "/home/vagrant/Eggs/pybars3-0.9.1-py2.7.egg/pybars/_compiler.py", line 798, in compile
if generate_name:
UnboundLocalError: local variable 'generate_name' referenced before assignment
If an absolute path is passed to the compiler the following error is thrown:
Version: pybars3: 0.9.1 Python: 2.7.8