telepathy-idle: servicetest: squash dbus-python deprecation warning
Will Thompson
wjt at kemper.freedesktop.org
Wed Aug 1 03:11:39 PDT 2012
Module: telepathy-idle
Branch: master
Commit: 1ce34440c58a9b82cb15711d95e35a8acb512ecd
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=1ce34440c58a9b82cb15711d95e35a8acb512ecd
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Wed Jul 18 14:12:07 2012 +0100
servicetest: squash dbus-python deprecation warning
---
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 ab4188a..3065e15 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -11,7 +11,9 @@ import sys
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