NetworkManager/examples/python
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
..
dbus examples: fix usage of input() with Python2 2021-05-26 18:03:13 +02:00
gi examples: use python3 compatible exception syntax 2021-03-16 07:55:12 +01:00
python-networkmanager build: merge "examples/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00