NetworkManager/examples/python/dbus
Thomas Haller e1d40d89f0
examples: fix usage of input() with Python2
input() in Python2 evaluated the string and was thus unsafe. On
Python2, the right choice is raw_input. In Python3, input does
what raw_input did.

Work around this.

The main "problem" is that lgtm.com flags this as error. The fix
in the example is not important, but getting a low number of warnings
is.
2021-05-26 18:03:13 +02:00
..
add-connection-compat.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
add-connection.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
add-wifi-eap-connection.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
add-wifi-psk-connection.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
checkpoint.py examples: fix usage of input() with Python2 2021-05-26 18:03:13 +02:00
create-bond.py examples: avoid deprecated PropertiesChanged signal in "create-bond.py" example 2021-05-14 10:53:09 +02:00
disconnect-device.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
get-active-connection-uuids.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
is-wwan-default.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
list-devices.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-state.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
show-bssids.py examples: minor bugfix comparing device state in "python/dbus/show-bssids.py" 2021-01-26 11:42:46 +01:00
update-ip4-method.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
update-secrets.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
vpn.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
wifi-active-ap.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
wifi-hotspot.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00