def load_template_source(self, template_name, template_dirs=None):
        for path in self.get_template_sources(template_name):
            try:
                with io.open(path, encoding=settings.FILE_CHARSET) as file:
                    return file.read(), path
            except __HOLE__:
                pass
        raise TemplateDoesNotExist(template_name)
dataset/ETHPy150Open openstack/horizon/horizon/themes.py/ThemeTemplateLoader.load_template_source