def load_template_source(template_name, template_dirs=None):
    for filepath in get_template_sources(template_name, template_dirs):
        try:
            return (open(filepath).read(), filepath)
        except __HOLE__:
            pass
    raise TemplateDoesNotExist, template_name
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/template/loaders/app_directories.py/load_template_source