From c6a16cd5157ed28591dc7c625d330ec61e9d3b41 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Mon, 23 Mar 2015 13:01:47 +0200 Subject: [PATCH] simple-agent: Fix else block Due to commit 31ce7614698f8f89e5ac3958c92985cd740fcd07 'else' block belongs to different if statement. --- test/simple-agent | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index d83d0de8..f94c1572 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -34,11 +34,11 @@ class Agent(dbus.service.Object): if arg.startswith("Passphrase="): passphrase = arg.replace("Passphrase=", "", 1) response["Passphrase"] = passphrase - else: - if self.passphrase: - response["Passphrase"] = self.passphrase + else: + if self.passphrase: + response["Passphrase"] = self.passphrase - return response + return response @dbus.service.method("net.connman.iwd.Agent", in_signature='o',