From 501d003fce99e6a9c366d9bbac5c2a293dce9163 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 23 Nov 2008 21:27:14 +0100 Subject: [PATCH 1/1] Use global state property from manager interface --- test/get-state | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/get-state b/test/get-state index f82b44c..38c1dc9 100755 --- a/test/get-state +++ b/test/get-state @@ -7,6 +7,6 @@ bus = dbus.SystemBus() manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), 'org.moblin.connman.Manager') -state = manager.GetState() +properties = manager.GetProperties() -print "System is %s" % (state) +print "System is %s" % (properties["State"]) -- 1.7.9.5