This file is indexed.

/usr/share/pyshared/Cheetah/Django.py is in python-cheetah 2.4.4-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
import Cheetah.Template

def render(template_file, **kwargs):
    '''
        Cheetah.Django.render() takes the template filename 
        (the filename should be a file in your Django 
        TEMPLATE_DIRS)

        Any additional keyword arguments are passed into the 
        template are propogated into the template's searchList
    '''
    import django.http
    import django.template.loader
    source, loader = django.template.loader.find_template_source(template_file)
    t = Cheetah.Template.Template(source, searchList=[kwargs])
    return django.http.HttpResponse(t.__str__())