about summary refs log tree commit diff
path: root/examples/python/gi/list-connections.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-06-28 18:59:08 +0200
committerMichael Biebl <biebl@debian.org>2020-06-28 18:59:08 +0200
commit215112eefc83274273a10d9ddb5e107c9beec548 (patch)
treea16052cef4bb8707d6a906dd784a50c75945d03e /examples/python/gi/list-connections.py
parent5ed4e66e01b005212aee22c255c9c6b2a4b040a9 (diff)
parenta54ac63bbf9b2c71026ac9028a8ffaf186cf3c82 (diff)
Update upstream source from tag 'upstream/1.25.90'
Update to upstream version '1.25.90'
with Debian dir 16d4caa71e8ba8c27ee163c88f11456b6cdc0490
Diffstat (limited to 'examples/python/gi/list-connections.py')
-rwxr-xr-xexamples/python/gi/list-connections.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
index 7278fafd..ba4f50e2 100755
--- a/examples/python/gi/list-connections.py
+++ b/examples/python/gi/list-connections.py
@@ -5,14 +5,17 @@
 #
 
 import gi
-gi.require_version('NM', '1.0')
+
+gi.require_version("NM", "1.0")
 from gi.repository import NM
 
 # This example asks settings service for all configured connections.
 
+
 def print_values(setting, key, value, flags, data):
     print("  %s.%s: %s" % (setting.get_name(), key, value))
 
+
 if __name__ == "__main__":
     # create Client object
     client = NM.Client.new(None)
@@ -25,4 +28,3 @@ if __name__ == "__main__":
         print("=== %s : %s ===" % (c.get_id(), c.get_path()))
         c.for_each_setting_value(print_values, None)
         print("\n")
-