summaryrefslogtreecommitdiff
path: root/examples/python
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@sigfox.com>2020-10-29 07:14:56 +0100
committerThomas Haller <thaller@redhat.com>2020-10-29 09:35:10 +0100
commit1f5c7f7d81c360260bf77747f872df636c257daa (patch)
tree1eb7f5cbcd5db8cd00eb0bd3e4a2183531381288 /examples/python
parentc8b13dc92fe1b40d590cca880bbd7eb7de7a11b3 (diff)
downloadNetworkManager-1f5c7f7d81c360260bf77747f872df636c257daa.tar.gz
Correct python black rules
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to 'examples/python')
-rwxr-xr-xexamples/python/dbus/add-wifi-psk-connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/dbus/add-wifi-psk-connection.py b/examples/python/dbus/add-wifi-psk-connection.py
index 66d42e8204..ca8b03008e 100755
--- a/examples/python/dbus/add-wifi-psk-connection.py
+++ b/examples/python/dbus/add-wifi-psk-connection.py
@@ -11,11 +11,11 @@ s_con = dbus.Dictionary(
)
s_wifi = dbus.Dictionary(
- {"ssid": dbus.ByteArray("best-wifi".encode("utf-8")), "mode": "infrastructure",}
+ {"ssid": dbus.ByteArray("best-wifi".encode("utf-8")), "mode": "infrastructure"}
)
s_wsec = dbus.Dictionary(
- {"key-mgmt": "wpa-psk", "auth-alg": "open", "psk": "super-secret-password",}
+ {"key-mgmt": "wpa-psk", "auth-alg": "open", "psk": "super-secret-password"}
)
s_ip4 = dbus.Dictionary({"method": "auto"})