summaryrefslogtreecommitdiff
path: root/test/simple-agent
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-04 14:42:05 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-04 14:42:05 +0200
commitd307f848466360929125c738c35bb7491da21ba8 (patch)
treed8b9f21bed736b5cfe059a04d30a9e313066ad14 /test/simple-agent
parent80e55f987ebbddd64a7b73e505231b94e14e7f9d (diff)
downloadbluez-d307f848466360929125c738c35bb7491da21ba8.tar.gz
agent: Rename Authorize to AuthorizeService
Diffstat (limited to 'test/simple-agent')
-rwxr-xr-xtest/simple-agent4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple-agent b/test/simple-agent
index 465857b83..0ca2ce097 100755
--- a/test/simple-agent
+++ b/test/simple-agent
@@ -48,8 +48,8 @@ class Agent(dbus.service.Object):
@dbus.service.method("org.bluez.Agent",
in_signature="os", out_signature="")
- def Authorize(self, device, uuid):
- print("Authorize (%s, %s)" % (device, uuid))
+ def AuthorizeService(self, device, uuid):
+ print("AuthorizeService (%s, %s)" % (device, uuid))
authorize = ask("Authorize connection (yes/no): ")
if (authorize == "yes"):
return