[Pkg-telepathy-commits] [telepathy-mission-control-6] 31/90: Use the AccountManager object path to call Abort

Simon McVittie smcv at debian.org
Wed May 14 12:09:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit dc6d465492788eb94f3a1c123eaa294e7b55086e
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Mar 21 18:13:14 2014 +0000

    Use the AccountManager object path to call Abort
    
    I moved the MC "object" to point to that path already, and in a later
    commit I'll change the debug API from being exposed at all object paths
    to only that one object path.
---
 tests/twisted/mctest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py
index c36b1f4..56e3725 100644
--- a/tests/twisted/mctest.py
+++ b/tests/twisted/mctest.py
@@ -1282,7 +1282,7 @@ def tell_mc_to_die(q, bus):
     """Instructs the running Mission Control to die via a magic method call in
     the version built for tests."""
 
-    secret_debug_api = dbus.Interface(bus.get_object(cs.AM, "/"),
+    secret_debug_api = dbus.Interface(bus.get_object(cs.AM, cs.AM_PATH),
         'im.telepathy.v1.MissionControl6.RegressionTests')
     secret_debug_api.Abort()
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list