This file is indexed.

/usr/share/pype/plugins/methodhelper.py is in pype 2.9.4-2.

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
'''
This software is licensed under the GPL (GNU General Public License) version 2
as it appears here: http://www.gnu.org/copyleft/gpl.html
It is also included with this archive as `gpl.txt <gpl.txt>`_.
'''


import __main__

class _MethodHelper(object):
    __slots__ = ['root', 'name']
    def __init__(self, root, name):
        self.root = root
        self.name = name
    def __call__(self, event):
        self.root._activity()
        num, stc = self.root.getNumWin(event)
        if stc.recording:
            stc.macro.append((None, None, self.name))
            if __main__.PRINTMACROS: print "recorded menu item", stc.macro[-1]
        getattr(stc, self.name)(event)

class MethodHelper(object):
    __slots__ = ['root']
    def __init__(self, root):
        self.root = root
    def __getattr__(self, name):
        return _MethodHelper(self.root, name)