telepathy-gabble: servicetest: stop using dbus.glib
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Mon Sep 23 04:00:48 PDT 2013
Module: telepathy-gabble
Branch: master
Commit: 8c5271616a07f476c1fc79d1b4255659b15aa6e0
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=8c5271616a07f476c1fc79d1b4255659b15aa6e0
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon Sep 23 12:59:30 2013 +0200
servicetest: stop using dbus.glib
It has been deprecated.
---
tests/twisted/servicetest.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index ab606fc..fcba708 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -13,7 +13,9 @@ import os
import pprint
import unittest
-import dbus.glib
+import dbus
+from dbus.mainloop.glib import DBusGMainLoop
+DBusGMainLoop(set_as_default=True)
from twisted.internet import reactor
More information about the telepathy-commits
mailing list