NetworkManager/examples/python/gi
Thomas Haller 09669f0045
examples/python: avoid Python2 "print" statement
Recent python-black (22.0) dropped support for Python 2 and thus fail
for those files. Make the examples Python3 compatible.

(cherry picked from commit 95e6a0a6e2)
(cherry picked from commit 2e4d1e8dc6)
(cherry picked from commit b78ca328d2)
(cherry picked from commit 25062ff17b)
2022-04-04 21:53:30 +02:00
..
add_connection.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
checkpoint.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
deactivate-all.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
device-state-ip4config.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
dns.py examples/python: avoid Python2 "print" statement 2022-04-04 21:53:30 +02:00
firewall-zone.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
get-active-connections.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
get-devices.py examples/python: avoid Python2 "print" statement 2022-04-04 21:53:30 +02:00
get-interface-flags.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
get-lldp-neighbors.py examples/python: avoid Python2 "print" statement 2022-04-04 21:53:30 +02:00
get_ips.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
list-connections.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-add-connection2.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-connection-update-stable-id.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-keyfile.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-update2.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-wg-set all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
ovs-external-ids.py examples/python: some style update to avoid changes in black code formatting 2021-01-28 10:25:25 +01:00
README examples: add README for examples/python/gi 2015-12-07 15:59:20 +01:00
setting-user-data.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
show-wifi-networks.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
update-ip4-method.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
vpn-import.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
wifi-p2p.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00

These examples show how to call libnm from Python using
GObject introspection.