This file is indexed.

/usr/share/pyshared/VisionEgg/PyroApps/GridGUI.py is in python-visionegg 1.2.1-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
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
#
# The Vision Egg: GridGUI
#
# Copyright (C) 2001-2003 Andrew Straw.
# Author: Andrew Straw <astraw@users.sourceforge.net>
# URL: <http://www.visionegg.org/>
#
# Distributed under the terms of the GNU Lesser General Public License
# (LGPL). See LICENSE.TXT that came with this file.

import VisionEgg, string

import sys, os
import Tkinter
import VisionEgg.PyroApps.EPhysGUIUtils as client_utils

def get_control_list():
    return [("grid_server",GridControlFrame,GridControlFrame.title)]

class GridMetaParameters:
    def __init__(self):
        pass

class GridControlFrame(client_utils.StimulusControlFrame):
    title = "Grid for 3D calibration"
    def __init__(self, master=None, suppress_go_buttons=0,**kw):
        client_utils.StimulusControlFrame.__init__(self,
                                                   master,
                                                   suppress_go_buttons,
                                                   GridControlFrame.title,
                                                   GridMetaParameters,
                                                   **kw)
        Tkinter.Label( self.param_frame,
                       text="No variables to control" ).grid()

    def get_shortname(self):
        """Used as basename for saving parameter files"""
        return "grid"

    def update_tk_vars(self):
        pass

    def send_values(self,dummy_arg=None):
        pass
        if self.connected:
            self.meta_controller.set_parameters( self.meta_params )

    def get_duration_sec(self):
        return 0.0

if __name__=='__main__':
    frame = GridControlFrame()
    frame.pack(expand=1,fill=Tkinter.BOTH)
    frame.winfo_toplevel().title("%s"%(os.path.basename(os.path.splitext(sys.argv[0])[0]),))
    frame.mainloop()