This file is indexed.

/usr/lib/python2.7/dist-packages/ooni/oonid.py is in ooniprobe 1.3.2-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
from twisted.application import service, internet

from ooni.settings import config
from ooni.api.spec import oonidApplication
from ooni.director import Director

def getOonid():
    director = Director()
    director.start()
    oonidApplication.director = director
    return internet.TCPServer(int(config.advanced.oonid_api_port), oonidApplication)

application = service.Application("ooniprobe")
service = getOonid()
service.setServiceParent(application)