mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 08:02:26 +01:00
371 lines
13 KiB
Diff
371 lines
13 KiB
Diff
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py
|
|
index 99d9067..d93efad 100755
|
|
--- a/clients/tests/test-client.py
|
|
+++ b/clients/tests/test-client.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
|
|
from __future__ import print_function
|
|
|
|
diff --git a/examples/python/dbus/add-connection-compat.py b/examples/python/dbus/add-connection-compat.py
|
|
index d521851..26d77dd 100755
|
|
--- a/examples/python/dbus/add-connection-compat.py
|
|
+++ b/examples/python/dbus/add-connection-compat.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/add-connection.py b/examples/python/dbus/add-connection.py
|
|
index cfb46de..d27f718 100755
|
|
--- a/examples/python/dbus/add-connection.py
|
|
+++ b/examples/python/dbus/add-connection.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/add-wifi-eap-connection.py b/examples/python/dbus/add-wifi-eap-connection.py
|
|
index 8ed80f7..bb57b62 100755
|
|
--- a/examples/python/dbus/add-wifi-eap-connection.py
|
|
+++ b/examples/python/dbus/add-wifi-eap-connection.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2011 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/add-wifi-psk-connection.py b/examples/python/dbus/add-wifi-psk-connection.py
|
|
index c9a4cee..4649151 100755
|
|
--- a/examples/python/dbus/add-wifi-psk-connection.py
|
|
+++ b/examples/python/dbus/add-wifi-psk-connection.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2015 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/create-bond.py b/examples/python/dbus/create-bond.py
|
|
index 4ebec24..2696415 100755
|
|
--- a/examples/python/dbus/create-bond.py
|
|
+++ b/examples/python/dbus/create-bond.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2015 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/disconnect-device.py b/examples/python/dbus/disconnect-device.py
|
|
index d44eb1b..f461a60 100755
|
|
--- a/examples/python/dbus/disconnect-device.py
|
|
+++ b/examples/python/dbus/disconnect-device.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/get-active-connection-uuids.py b/examples/python/dbus/get-active-connection-uuids.py
|
|
index 1ba156b..15c4508 100755
|
|
--- a/examples/python/dbus/get-active-connection-uuids.py
|
|
+++ b/examples/python/dbus/get-active-connection-uuids.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/is-wwan-default.py b/examples/python/dbus/is-wwan-default.py
|
|
index 749b71b..00f7c71 100755
|
|
--- a/examples/python/dbus/is-wwan-default.py
|
|
+++ b/examples/python/dbus/is-wwan-default.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2011 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/list-connections.py b/examples/python/dbus/list-connections.py
|
|
index c5381b6..9eda6e7 100755
|
|
--- a/examples/python/dbus/list-connections.py
|
|
+++ b/examples/python/dbus/list-connections.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 - 2011 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/list-devices.py b/examples/python/dbus/list-devices.py
|
|
index 17654f3..90bf1b6 100755
|
|
--- a/examples/python/dbus/list-devices.py
|
|
+++ b/examples/python/dbus/list-devices.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2011 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/nm-state.py b/examples/python/dbus/nm-state.py
|
|
index 27e99e2..b7cd902 100755
|
|
--- a/examples/python/dbus/nm-state.py
|
|
+++ b/examples/python/dbus/nm-state.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py
|
|
index 17364e4..93510f9 100755
|
|
--- a/examples/python/dbus/show-bssids.py
|
|
+++ b/examples/python/dbus/show-bssids.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/update-ip4-method.py b/examples/python/dbus/update-ip4-method.py
|
|
index d84e01b..41d297b 100755
|
|
--- a/examples/python/dbus/update-ip4-method.py
|
|
+++ b/examples/python/dbus/update-ip4-method.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/update-secrets.py b/examples/python/dbus/update-secrets.py
|
|
index ce69cb9..70ef165 100755
|
|
--- a/examples/python/dbus/update-secrets.py
|
|
+++ b/examples/python/dbus/update-secrets.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2011 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/vpn.py b/examples/python/dbus/vpn.py
|
|
index f86bf1a..920f786 100755
|
|
--- a/examples/python/dbus/vpn.py
|
|
+++ b/examples/python/dbus/vpn.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2009 Novell, Inc.
|
|
diff --git a/examples/python/dbus/wifi-active-ap.py b/examples/python/dbus/wifi-active-ap.py
|
|
index bc8f1ea..26aee12 100755
|
|
--- a/examples/python/dbus/wifi-active-ap.py
|
|
+++ b/examples/python/dbus/wifi-active-ap.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2015 Red Hat, Inc.
|
|
diff --git a/examples/python/dbus/wifi-hotspot.py b/examples/python/dbus/wifi-hotspot.py
|
|
index a441e7e..71fb00a 100755
|
|
--- a/examples/python/dbus/wifi-hotspot.py
|
|
+++ b/examples/python/dbus/wifi-hotspot.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2010 - 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
|
|
index e6e1d5a..dca74b8 100755
|
|
--- a/examples/python/gi/add_connection.py
|
|
+++ b/examples/python/gi/add_connection.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/deactivate-all.py b/examples/python/gi/deactivate-all.py
|
|
index bb590b2..481b96b 100755
|
|
--- a/examples/python/gi/deactivate-all.py
|
|
+++ b/examples/python/gi/deactivate-all.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2015 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/device-state-ip4config.py b/examples/python/gi/device-state-ip4config.py
|
|
index 6ad882c..6ccc329 100755
|
|
--- a/examples/python/gi/device-state-ip4config.py
|
|
+++ b/examples/python/gi/device-state-ip4config.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2012 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/firewall-zone.py b/examples/python/gi/firewall-zone.py
|
|
index e3ee251..4cd4d61 100755
|
|
--- a/examples/python/gi/firewall-zone.py
|
|
+++ b/examples/python/gi/firewall-zone.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2013 - 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/get-active-connections.py b/examples/python/gi/get-active-connections.py
|
|
index aedfad6..2dd8283 100755
|
|
--- a/examples/python/gi/get-active-connections.py
|
|
+++ b/examples/python/gi/get-active-connections.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/get_ips.py b/examples/python/gi/get_ips.py
|
|
index e4276ab..0cd533d 100755
|
|
--- a/examples/python/gi/get_ips.py
|
|
+++ b/examples/python/gi/get_ips.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
|
|
index d3a74d5..edcb3ce 100755
|
|
--- a/examples/python/gi/list-connections.py
|
|
+++ b/examples/python/gi/list-connections.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2012 - 2014 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/nm-add-connection2.py b/examples/python/gi/nm-add-connection2.py
|
|
index 2cd760a..8162564 100755
|
|
--- a/examples/python/gi/nm-add-connection2.py
|
|
+++ b/examples/python/gi/nm-add-connection2.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2019 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/nm-connection-update-stable-id.py b/examples/python/gi/nm-connection-update-stable-id.py
|
|
index 05926f4..f704db8 100755
|
|
--- a/examples/python/gi/nm-connection-update-stable-id.py
|
|
+++ b/examples/python/gi/nm-connection-update-stable-id.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2017 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/nm-keyfile.py b/examples/python/gi/nm-keyfile.py
|
|
index 3a467d4..37b9051 100755
|
|
--- a/examples/python/gi/nm-keyfile.py
|
|
+++ b/examples/python/gi/nm-keyfile.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
import sys
|
|
diff --git a/examples/python/gi/nm-update2.py b/examples/python/gi/nm-update2.py
|
|
index 9d272ea..21ff03a 100755
|
|
--- a/examples/python/gi/nm-update2.py
|
|
+++ b/examples/python/gi/nm-update2.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2019 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/ovs-external-ids.py b/examples/python/gi/ovs-external-ids.py
|
|
index 63f9695..cec8aaf 100755
|
|
--- a/examples/python/gi/ovs-external-ids.py
|
|
+++ b/examples/python/gi/ovs-external-ids.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2017, 2020 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/setting-user-data.py b/examples/python/gi/setting-user-data.py
|
|
index 20c6a2e..4c0dbaf 100755
|
|
--- a/examples/python/gi/setting-user-data.py
|
|
+++ b/examples/python/gi/setting-user-data.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2017 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/show-wifi-networks.py b/examples/python/gi/show-wifi-networks.py
|
|
index eb71c4c..931f71d 100755
|
|
--- a/examples/python/gi/show-wifi-networks.py
|
|
+++ b/examples/python/gi/show-wifi-networks.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2013 Red Hat, Inc.
|
|
diff --git a/examples/python/gi/update-ip4-method.py b/examples/python/gi/update-ip4-method.py
|
|
index 811d10b..dd8bf89 100755
|
|
--- a/examples/python/gi/update-ip4-method.py
|
|
+++ b/examples/python/gi/update-ip4-method.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2014 Red Hat, Inc.
|
|
diff --git a/src/core/tests/test-secret-agent.py b/src/core/tests/test-secret-agent.py
|
|
index 46f82b3..522b259 100755
|
|
--- a/src/core/tests/test-secret-agent.py
|
|
+++ b/src/core/tests/test-secret-agent.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
|
|
from gi.repository import GLib
|
|
import sys
|
|
diff --git a/tools/generate-docs-nm-settings-docs-gir.py b/tools/generate-docs-nm-settings-docs-gir.py
|
|
index 6df8519..2b6f01c 100755
|
|
--- a/tools/generate-docs-nm-settings-docs-gir.py
|
|
+++ b/tools/generate-docs-nm-settings-docs-gir.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# Copyright (C) 2009 - 2017 Red Hat, Inc.
|
|
diff --git a/tools/generate-docs-nm-settings-docs-merge.py b/tools/generate-docs-nm-settings-docs-merge.py
|
|
index 5fe6199..47ad473 100755
|
|
--- a/tools/generate-docs-nm-settings-docs-merge.py
|
|
+++ b/tools/generate-docs-nm-settings-docs-merge.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
from __future__ import print_function
|
|
diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py
|
|
index fe5e4d4..67b0f15 100755
|
|
--- a/tools/test-networkmanager-service.py
|
|
+++ b/tools/test-networkmanager-service.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/env python3
|
|
|
|
from __future__ import print_function
|
|
|