(self, origin)
| 18 | return self.dirs if self.dirs is not None else self.engine.dirs |
| 19 | |
| 20 | def get_contents(self, origin): |
| 21 | try: |
| 22 | with open(origin.name, encoding=self.engine.file_charset) as fp: |
| 23 | return fp.read() |
| 24 | except FileNotFoundError: |
| 25 | raise TemplateDoesNotExist(origin) |
| 26 | |
| 27 | def get_template_sources(self, template_name): |
| 28 | """ |
nothing calls this directly
no test coverage detected