mbox series

[BlueZ,0/1] Update python2 examples to run properly with python3

Message ID 20240509214231.2783781-1-me@prestonhunt.com
Headers show
Series Update python2 examples to run properly with python3 | expand

Message

Preston Hunt May 9, 2024, 9:42 p.m. UTC
Several of the examples in the test/ directory are python2 scripts. In
commit d31f04aa928ae8fb7a4fc5b0876dd17ea65d4513, added a python3
shebang, causing these scripts to be run by python3. Because they are
python2 scripts, they won't run properly.

Fixed by running Python's 2to3 utility.

Preston Hunt (1):
  test examples: fix python3 errors

 test/exchange-business-cards |  4 +--
 test/get-obex-capabilities   |  6 ++--
 test/list-folders            |  6 ++--
 test/sap_client.py           | 68 ++++++++++++++++++------------------
 test/simple-player           |  4 +--
 5 files changed, 44 insertions(+), 44 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org May 13, 2024, 2 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Thu,  9 May 2024 14:42:30 -0700 you wrote:
> Several of the examples in the test/ directory are python2 scripts. In
> commit d31f04aa928ae8fb7a4fc5b0876dd17ea65d4513, added a python3
> shebang, causing these scripts to be run by python3. Because they are
> python2 scripts, they won't run properly.
> 
> Fixed by running Python's 2to3 utility.
> 
> [...]

Here is the summary with links:
  - [BlueZ,1/1] test examples: fix python3 errors
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=832412f5e36a

You are awesome, thank you!