diff --git a/examples/python/list-connections.py b/examples/python/list-connections.py index db01f85c6d..120b744acc 100755 --- a/examples/python/list-connections.py +++ b/examples/python/list-connections.py @@ -94,11 +94,11 @@ def print_connections(): merge_secrets(settings_connection, config, 'ppp') # Get the details of the 'connection' setting - s_con = config['connection'] - print " name: %s" % s_con['id'] - print " uuid: %s" % s_con['uuid'] - print " type: %s" % s_con['type'] - print " ------------------------------------------" + s_con = config['connection'] + print " name: %s" % s_con['id'] + print " uuid: %s" % s_con['uuid'] + print " type: %s" % s_con['type'] + print " ------------------------------------------" connection_to_string(config) print "" diff --git a/examples/python/nm-state.py b/examples/python/nm-state.py old mode 100644 new mode 100755 diff --git a/examples/python/update-secrets.py b/examples/python/update-secrets.py index ae973fc37b..13cac1b08c 100755 --- a/examples/python/update-secrets.py +++ b/examples/python/update-secrets.py @@ -46,7 +46,7 @@ def change_secrets_in_one_setting(proxy, config, setting_name): config[setting_name][key] = new_secret except Exception, e: #code = str(e).split(':')[0] - #print "Exception:", str(e) + #print "Exception:", str(e) pass def change_secrets(con_path, config): @@ -80,7 +80,7 @@ def find_connection(name): pass # Find connection by the id - s_con = config['connection'] + s_con = config['connection'] if name == s_con['id']: con_path = path return config