This file is indexed.

/usr/share/pyshared/plasTeX/Packages/url.py is in python-plastex 0.9.2-1.

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
import new
from plasTeX.Base import Command, verb

class url(verb):
    args = ''

class urldef(Command):
    args = 'name:cs type:cs'

    class DefinedURL(Command):
        result = None
        def invoke(self, tex):
            return self.result

    def invoke(self, tex):
        Command.invoke(self, tex)
        name = str(self.attributes['name'])
        type = str(self.attributes['type'])
        c = self.ownerDocument.context
        obj = c[type]()
        obj.parentNode = self.parentNode
        obj.ownerDocument = self.ownerDocument
        result = obj.invoke(tex)
        c.addGlobal(name, new.classobj(name, (self.DefinedURL,), {'result':result}))

class urlstyle(Command):
    args = 'style:str'

class DeclareUrlCommand(Command):
    args = 'name:cs style'
    def invoke(self, tex):
        Command.invoke(self, tex)
        name = str(self.attributes['name'])
        c = self.ownerDocument.context
        c.addGlobal(name, new.classobj(name, (url,), {}))