summaryrefslogtreecommitdiff
path: root/examples/python/dbus/nm-state.py
Commit message (Collapse)AuthorAgeFilesLines
* all: update deprecated SPDX license identifiersThomas Haller2021-01-051-1/+1
| | | | | | | | | | | | | | | | These SPDX license identifiers are deprecated ([1]). Update them. [1] https://spdx.org/licenses/ sed \ -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \ -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \ -i \ $(git grep -l SPDX-License-Identifier -- \ ':(exclude)shared/c-*/' \ ':(exclude)shared/n-*/' \ ':(exclude)shared/systemd/src' \ ':(exclude)src/systemd/src')
* all: changes from python 2 syntax to python3 and removing dead codeSayed Shah2020-08-031-2/+1
| | | | | | | There were python 2 methods that are not used anymore so now it's in python 3. Added helper fuctions so that the code is more clear https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/540
* all: reformat python files with python blackSayed Shah2020-06-151-31/+43
| | | | | | Part of !537. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/537
* all: SPDX header conversionLubomir Rintel2019-09-101-14/+1
| | | | | $ find * -type f |xargs perl contrib/scripts/spdx.pl $ git rm contrib/scripts/spdx.pl
* python: make dbus, gi examples, and debug-helper.py python3 readyYifan J2017-12-041-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=791121
* examples: update Python NM example to print detailed connection stateSrdjan Grubor2015-03-121-6/+19
| | | | | | | Current Python NM example has a very crude connection state output and the global NM connectivity is not used in them either. https://bugzilla.gnome.org/show_bug.cgi?id=746045
* examples: group python examples - dbus vs. giJiří Klimeš2013-09-241-0/+81
Move examples using dbus-python ('dbus' module) and GObject introspection into their own directories.