250 | if os.path.isfile(srcfile):
|
251 | return self._load(srcfile, uri)
|
252 | else:
|
253 | raise exceptions.TopLevelLookupException(
|
254 | "Can't locate template for uri %r" % uri
|
255 | ) from e
|
256 |
257 | def adjust_uri(self, uri, relativeto):
|
258 | """Adjust the given ``uri`` based on the given relative URI."""
|
253 | raise exceptions.TopLevelLookupException( |
101 | template = TEMPLATE_LOOKUP.get_template(template_name) |