3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 10:29:03 +02:00

simple-agent: Fix else block

Due to commit 31ce761469 'else'
block belongs to different if statement.
This commit is contained in:
Ravi kumar Veeramally 2015-03-23 13:01:47 +02:00 committed by Denis Kenzior
parent 4c5a846abb
commit c6a16cd515

View File

@ -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',