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)
Have made changes as posted above into comment #18 :
dbus.mainloop. glib.DBusGMainL oop(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)