in asfpy/twatcher.py [0:0]
def load_template(self, path, **kwargs):
"""Load template at PATH with **KWARGS.
Note: it is best to use absolute paths, to avoid problems if
the current directory changes.
Returns an instance of ezt.Template()
"""
t = ezt.Template(path, **kwargs)
bf = kwargs.get('base_format', ezt.FORMAT_RAW)
self.templates[path] = (t, bf)
self.inotify.add_watch(path,
asyncinotify.Mask.MODIFY
| asyncinotify.Mask.MASK_CREATE)
return t