This file is indexed.

/usr/lib/python3/dist-packages/monajat/utils.py is in monajat-applet 4.1-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
29
30
31
32
33
34
# -*- Mode: Python; py-indent-offset: 4 -*-
# vim: tabstop=4 shiftwidth=4 expandtab

import dbus
import dbus.bus
import dbus.service
import dbus.mainloop.glib

bus_interface="org.ojuba.Monajat"

    
class OjDBus(dbus.service.Object):
    def __init__(self, app, bus, path='/', bus_interface="org.ojuba.Monajat"):
        self.app = app()
        dbus.service.Object.__init__ (self, bus, path, bus_interface)
        self.running = True
        
    @dbus.service.method(bus_interface, in_signature='', out_signature='')
    def start (self):
        self.app.dbus_cb()

def setup_dbus(gtk_app, bus_interface="org.ojuba.Monajat"):
    dbus.mainloop.glib.DBusGMainLoop (set_as_default=True)
    bus = dbus.SessionBus ()
    request = bus.request_name (bus_interface, dbus.bus.NAME_FLAG_DO_NOT_QUEUE)
    
    if request != dbus.bus.REQUEST_NAME_REPLY_EXISTS:
        app = OjDBus(gtk_app, bus, '/', bus_interface)
    else:
        print ("Exiting: Application already running...")
        object = bus.get_object (bus_interface, "/")
        app = dbus.Interface (object, bus_interface)
        app.start()
        exit(-1)