This file is indexed.

/usr/share/python-visionegg/demo/Pyro/simpleClient.py is in python-visionegg 1.2.1-1.

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

from VisionEgg.PyroClient import *

import time, sys

if len(sys.argv) >= 2:
    server_hostname = sys.argv[1]
else:
    server_hostname = ''

print "using server hostname '%s'"%server_hostname

# Get the controllers
client = PyroClient(server_hostname=server_hostname)
tf_controller = client.get('tf_controller')
quit_controller = client.get('quit_controller')

# Set a temporal frequency

# Note that we never enter the 'go' loop in this demo, so we are only
# concerned with setting the between_go_value

tf_controller.set_between_go_value(1.0)
tf_controller.evaluate_now()

time.sleep(5.0) # show for 5 seconds

quit_controller.set_between_go_value(1)
quit_controller.evaluate_now()