[PATCH] Fix typo in test-connman.

Lucas De Marchi lucas.demarchi at profusion.mobi
Fri Apr 16 10:06:34 PDT 2010


Hi,

On Fri, Apr 16, 2010 at 9:46 AM, Forest Bond <forest at alittletooquiet.net> wrote:
> diff --git a/test/test-connman b/test/test-connman
> index aa781c3..2c0f4c6 100755
> --- a/test/test-connman
> +++ b/test/test-connman
> @@ -188,7 +188,7 @@ def device_handle(devices, interface):
>                                disconnect_network(properties["Networks"], value)
>                        else:
>                                print "Device has no networks"
> -               elif command in ["discconnect", "disc"]:
> +               elif command in ["disconnect", "disc"]:

What version of connman are you using? Here this line is not this one
and the patch does not apply. My test-connman contains:

		elif command in ["disconnect", "disc"] and value != "":
			if "Networks" in properties.keys():
				disconnect_network(properties["Networks"], value)


Lucas De Marchi



More information about the connman mailing list