This file is indexed.

/usr/share/pyshared/xapers/nci/help.py is in xapers 0.5.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
36
37
38
39
40
41
42
43
44
45
46
47
import urwid

############################################################

class Help(urwid.WidgetWrap):

    def __init__(self, ui, target=None):
        self.ui = ui
        self.target = target

        if self.target:
            tname = self.target.__class__.__name__
            self.ui.set_header("Help: " + tname)
        else:
            self.ui.set_header("Help")

        pile = []


        if self.target and hasattr(self.target, 'keys'):
            pile.append(urwid.Text('%s commands:' % (tname)))
            pile.append(urwid.Text(''))
            for key, cmd in sorted(self.target.keys.iteritems()):
                pile.append(self.row('target', cmd, key))
            pile.append(urwid.Text(''))
            pile.append(urwid.Text(''))

        pile.append(urwid.Text('Global commands:'))
        pile.append(urwid.Text(''))
        for key, cmd in sorted(self.ui.keys.iteritems()):
            pile.append(self.row('ui', cmd, key))

        w = urwid.Filler(urwid.Pile(pile))
        self.__super.__init__(w)

    def row(self, c, cmd, key):
        hstring = eval('str(self.%s.%s.__doc__)' % (c, cmd))
        return urwid.Columns(
            [
                ('fixed', 8,
                 urwid.Text(key)),
                urwid.Text(hstring),
                 ]
                )

    def keypress(self, size, key):
        self.ui.keypress(key)