all: changes from python 2 syntax to python3 and removing dead code
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
This commit is contained in:

committed by
Thomas Haller

parent
4d878d7012
commit
7baf615eaa
@@ -50,10 +50,9 @@ con = dbus.Dictionary(
|
||||
"ipv6": s_ip6,
|
||||
}
|
||||
)
|
||||
|
||||
print("Creating connection:", s_con["id"], "-", s_con["uuid"])
|
||||
|
||||
bus = dbus.SystemBus()
|
||||
|
||||
proxy = bus.get_object(
|
||||
"org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager/Settings"
|
||||
)
|
||||
|
Reference in New Issue
Block a user