(self, environment, name, globals=None)
| 357 | |
| 358 | @internalcode |
| 359 | def load(self, environment, name, globals=None): |
| 360 | loader, local_name = self.get_loader(name) |
| 361 | try: |
| 362 | return loader.load(environment, local_name, globals) |
| 363 | except TemplateNotFound: |
| 364 | # re-raise the exception with the correct filename here. |
| 365 | # (the one that includes the prefix) |
| 366 | raise TemplateNotFound(name) |
| 367 | |
| 368 | def list_templates(self): |
| 369 | result = [] |
nothing calls this directly
no test coverage detected