This file is indexed.

/usr/share/doc/python-htmltmpl/examples/test.py is in python-htmltmpl 1.22-10.

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

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
#!/usr/bin/env python

import os
import sys
import re

os.chdir("test")

# If this is not a UNIX platform, then
# we must convert the .tmpl and .res files to make it compatible
# with newline separator used on current platform.
if os.linesep != "\n":
    print "This is not UNIX."
    print "Converting newline separators in .tmpl and .res files."
    files = [x for x in os.listdir(".") \
               if x.find(".tmpl") != -1 or x.find(".res") != -1]
    files.sort()
    for file in files:
        old = open(file).read()
        new = re.sub("\n", os.linesep, old)
        open(file, "w").write(new)

# Exec all .py files located in the "test" directory.
scripts = [x for x in os.listdir(".") if x.find(".py") != -1]
scripts.sort()
for i in range(len(scripts)):
    print i+1, "...",
    execfile(scripts[i])