From 54daaa55261c83a8a3e2b3b50bfd8af5d87d0dac Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Mon, 24 Jun 2024 10:28:12 +0200 Subject: [PATCH] test: Remaining fixups for reformat test scripts with autopep8 Reformat the test/* and se/test/* scripts using the following command: $ autopep8 --in-place --aggressive test/* se/test/* Signed-off-by: Krzysztof Kozlowski --- test/bt-handover | 2 +- test/phdc-simple-manager | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bt-handover b/test/bt-handover index 37b0946..e6fa8b4 100755 --- a/test/bt-handover +++ b/test/bt-handover @@ -48,7 +48,7 @@ def remove_paired_devices(bt_adapter): "org.bluez.Adapter1") break - if(bluez_adapter is None): + if (bluez_adapter is None): print("Bluetooth adapter %s could not be found" % bluez_adapter) exit() diff --git a/test/phdc-simple-manager b/test/phdc-simple-manager index 27806e7..0ead61f 100755 --- a/test/phdc-simple-manager +++ b/test/phdc-simple-manager @@ -194,7 +194,7 @@ if "__main__" == __name__: try: mainloop.run() -except(KeyboardInterrupt): +except (KeyboardInterrupt): # Call for unregister... neard_manager.UnregisterAgent(simple_path, 'Manager') neard_manager.UnregisterAgent(valid_path, 'Manager')