mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-13 19:00:28 +01:00
examples: correct a comment in list-devices.py example
This commit is contained in:
parent
ad4b8777e4
commit
f95d503680
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ bus = dbus.SystemBus()
|
|||
proxy = bus.get_object("org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager")
|
||||
manager = dbus.Interface(proxy, "org.freedesktop.NetworkManager")
|
||||
|
||||
# Find the device the user wants to disconnect
|
||||
# Get all devices known to NM and print their properties
|
||||
devices = manager.GetDevices()
|
||||
for d in devices:
|
||||
dev_proxy = bus.get_object("org.freedesktop.NetworkManager", d)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue