From ac091c67c87cd2c18da02ef20691e7c4d744040b Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Wed, 2 Jan 2013 15:57:34 +0200 Subject: [PATCH] test: Fix simple-agent so it registers the right path --- test/simple-agent | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index ebb44c57..2487b7bb 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -309,8 +309,8 @@ if __name__ == '__main__': vpn_manager = dbus.Interface(bus.get_object('net.connman.vpn', "/"), 'net.connman.vpn.Manager') - path = "/test/vpn_agent" - vpn_object = VpnAgent(bus, path) + vpn_path = "/test/vpn_agent" + vpn_object = VpnAgent(bus, vpn_path) if len(sys.argv) >= 2: for arg in sys.argv[1:]: @@ -340,9 +340,9 @@ if __name__ == '__main__': except: print "Cannot register connman agent." - vpn_manager.RegisterAgent(path) + vpn_manager.RegisterAgent(vpn_path) - bus.watch_name_owner('net.connman.vpn', vpnNameOwnerChanged) + bus.watch_name_owner('net.connman.vpn', vpnNameOwnerChanged) mainloop = gobject.MainLoop() mainloop.run() -- 2.34.1