Thanks for the patch Carlo,

According to my system gobject should be also fixed:

AttributeError: When using gi.repository you must not import static
modules like "gobject". Please change all occurrences of "import
gobject" to "from gi.repository import GObject". See:
https://bugzilla.gnome.org/show_bug.cgi?id=709183

So I converted it too:

-   import gobject
+   try:
+       from gi.repository import GObject as gobject
+   except ImportError:
+       import gobject



** Bug watch added: GNOME Bug Tracker #709183
   https://bugzilla.gnome.org/show_bug.cgi?id=709183

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579834

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to