Comment 19 for bug 1026066

Revision history for this message
dino99 (9d9) wrote :

Have made changes as posted above into comment #18 :

dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)

if 'gobject' in sys.modules:
    import gobject as GObject
else:
    from gi.repository import GObject

from . import enums

but got error:

  File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 40
    if 'gobject' in sys.modules:
       ^
SyntaxError: invalid character in identifier

Does not see what is wrong there (remove/add done as per #7 link details)