diff options
author | Vasyl Gello <vasek.gello@gmail.com> | 2020-11-13 14:53:33 +0200 |
---|---|---|
committer | Vasyl Gello <vasek.gello@gmail.com> | 2020-11-15 22:51:07 +0200 |
commit | 17961321f98cacf33db5cf7f30ada78cb7cb5a12 (patch) | |
tree | 3cb6a6ed52f653569af4ea6bc33563cc83d913ab /tools/EventClients | |
parent | b90a6d4ed4e288a838b4ab1650d3d5e728b29772 (diff) |
[Python] Replace shebang with 'env python3' invocation
This is conformant to POSIX and should work on Windows and OSX too.
Also this fixes Lintian 'unusual-interpreter' warnings.
Diffstat (limited to 'tools/EventClients')
14 files changed, 14 insertions, 14 deletions
diff --git a/tools/EventClients/Clients/KodiSend/kodi-send.py b/tools/EventClients/Clients/KodiSend/kodi-send.py index 09bd4f145e..e685ba92b2 100755 --- a/tools/EventClients/Clients/KodiSend/kodi-send.py +++ b/tools/EventClients/Clients/KodiSend/kodi-send.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # XBMC Media Center # XBMC Send diff --git a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py index a9f99fb2e3..72ae71a22d 100755 --- a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py +++ b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 Team XBMC diff --git a/tools/EventClients/Clients/PS3SixaxisController/ps3d.py b/tools/EventClients/Clients/PS3SixaxisController/ps3d.py index f961cf8d33..32ed361b9e 100755 --- a/tools/EventClients/Clients/PS3SixaxisController/ps3d.py +++ b/tools/EventClients/Clients/PS3SixaxisController/ps3d.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 Team XBMC diff --git a/tools/EventClients/examples/python/example_action.py b/tools/EventClients/examples/python/example_action.py index 16b270c235..224072c300 100755 --- a/tools/EventClients/examples/python/example_action.py +++ b/tools/EventClients/examples/python/example_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can send a key press event # to XBMC using the XBMCClient class diff --git a/tools/EventClients/examples/python/example_button1.py b/tools/EventClients/examples/python/example_button1.py index dd524a3788..a356d72573 100755 --- a/tools/EventClients/examples/python/example_button1.py +++ b/tools/EventClients/examples/python/example_button1.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can send 2 button events # to XBMC in a queued fashion to shut it down. diff --git a/tools/EventClients/examples/python/example_button2.py b/tools/EventClients/examples/python/example_button2.py index e2ec759bb4..39b8fb74f4 100755 --- a/tools/EventClients/examples/python/example_button2.py +++ b/tools/EventClients/examples/python/example_button2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can send a key press event # to XBMC in a non-queued fashion to achieve a button pressed down diff --git a/tools/EventClients/examples/python/example_mouse.py b/tools/EventClients/examples/python/example_mouse.py index 10d7f61ba7..88e90f5b8b 100755 --- a/tools/EventClients/examples/python/example_mouse.py +++ b/tools/EventClients/examples/python/example_mouse.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can send mouse movement # events to XBMC. diff --git a/tools/EventClients/examples/python/example_notification.py b/tools/EventClients/examples/python/example_notification.py index 72c0bbcb8d..55e0771ab3 100755 --- a/tools/EventClients/examples/python/example_notification.py +++ b/tools/EventClients/examples/python/example_notification.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can show a notification # window with a custom icon inside XBMC. It could be used by mail diff --git a/tools/EventClients/examples/python/example_simple.py b/tools/EventClients/examples/python/example_simple.py index f28b002841..6beca8540d 100755 --- a/tools/EventClients/examples/python/example_simple.py +++ b/tools/EventClients/examples/python/example_simple.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This is a simple example showing how you can send a key press event # to XBMC using the XBMCClient class diff --git a/tools/EventClients/lib/python/ps3/sixaxis.py b/tools/EventClients/lib/python/ps3/sixaxis.py index c690283078..b4899f6329 100644 --- a/tools/EventClients/lib/python/ps3/sixaxis.py +++ b/tools/EventClients/lib/python/ps3/sixaxis.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 Team XBMC diff --git a/tools/EventClients/lib/python/ps3/sixpair.py b/tools/EventClients/lib/python/ps3/sixpair.py index 2fa8cae0e0..01f11c86ee 100755 --- a/tools/EventClients/lib/python/ps3/sixpair.py +++ b/tools/EventClients/lib/python/ps3/sixpair.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys diff --git a/tools/EventClients/lib/python/ps3/sixwatch.py b/tools/EventClients/lib/python/ps3/sixwatch.py index f913c00cef..553829bc04 100755 --- a/tools/EventClients/lib/python/ps3/sixwatch.py +++ b/tools/EventClients/lib/python/ps3/sixwatch.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pyudev diff --git a/tools/EventClients/lib/python/xbmcclient.py b/tools/EventClients/lib/python/xbmcclient.py index bce68e13b4..1aa743b6ca 100644 --- a/tools/EventClients/lib/python/xbmcclient.py +++ b/tools/EventClients/lib/python/xbmcclient.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 Team XBMC diff --git a/tools/EventClients/lib/python/zeroconf.py b/tools/EventClients/lib/python/zeroconf.py index 7f78aca1e4..811dbe338e 100644 --- a/tools/EventClients/lib/python/zeroconf.py +++ b/tools/EventClients/lib/python/zeroconf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 Team XBMC |