NetworkManager/examples
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
..
C example: rework "vpn-import-libnm" example 2021-04-01 21:16:01 +02:00
dispatcher dispatcher: avoid "dirname" and "basename" calls in "10-ifcfg-rh-routes.sh" script 2019-10-04 12:38:16 +02:00
js all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
lua/lgi all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-conf.d examples: drop rtl drivers from the mac address change blacklist 2019-04-08 10:10:25 +02:00
python examples: fix usage of input() with Python2 2021-05-26 18:03:13 +02:00
ruby all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
shell all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00