saltstack/salt — pull request #2941 by mchesnut (2012-12-19 00:41:54+00:00)
Title: change from jinja's PackageLoader to FileSystemLoader

this removes the dependency on distribute (setuptools) at runtime.
added some checks around each of the calls to get_template, to
catch the exception thrown when the template environment cannot be
loaded by the FileSystemLoader.

a good TODO / follow-up to this would be to enhance
states/network.py to better handle the situations this creates...

see #2928 for discussion.