This file is indexed.

/usr/lib/python2.7/dist-packages/chameleon/tests/inputs/hello_world.txt.py is in python-chameleon 2.16-4.

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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
pass
import sys as _sys
pass
import re
import functools
_marker = object()
g_re_amp = re.compile('&(?!([A-Za-z]+|#[0-9]+);)')
g_re_needs_escape = re.compile('[&<>\\"\\\']').search
re_whitespace = functools.partial(re.compile('\\s+').sub, ' ')

def render(stream, econtext, rcontext):
    append = stream.append
    getitem = econtext.__getitem__
    get = econtext.get
    _i18n_domain = None
    re_amp = g_re_amp
    re_needs_escape = g_re_needs_escape
    decode = getitem('decode')
    convert = getitem('convert')
    translate = getitem('translate')

    # <Expression u"'Hello world!'" (1:2)> -> _content_139955154988272
    try:
        _content_139955154988272 = 'Hello world!'
    except:
        rcontext.setdefault('__error__', []).append((u"'Hello world!'", 1, 2, '<string>', _sys.exc_info()[1], ))
        raise

    if (_content_139955154988272 is not None):
        _tt = type(_content_139955154988272)
        if ((_tt is int) or (_tt is float) or (_tt is long)):
            _content_139955154988272 = str(_content_139955154988272)
        else:
            if (_tt is str):
                _content_139955154988272 = decode(_content_139955154988272)
            else:
                if (_tt is not unicode):
                    try:
                        _content_139955154988272 = _content_139955154988272.__html__
                    except AttributeError:
                        _content_139955154988272 = convert(_content_139955154988272)
                    else:
                        _content_139955154988272 = _content_139955154988272()
    _content_139955154988272 = ('%s%s' % ((_content_139955154988272 if (_content_139955154988272 is not None) else ''), (u'\n' if (u'\n' is not None) else ''), ))
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
pass