diff options
author | Thomas Haller <thaller@redhat.com> | 2018-02-02 11:34:55 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-02-07 13:32:04 +0100 |
commit | 28da0154fcf005a8391a540f2c5a5055ca1da33f (patch) | |
tree | 59453628ab48acd4d8aee63c67ab3e60c3ba3626 /examples | |
parent | e4839accf5a5b470b9bf2287f0269ddc4ce0f91b (diff) | |
download | NetworkManager-28da0154fcf005a8391a540f2c5a5055ca1da33f.tar.gz |
all: drop trailing spaces
Diffstat (limited to 'examples')
-rw-r--r-- | examples/C/glib/get-ap-info-libnm.c | 4 | ||||
-rwxr-xr-x | examples/python/dbus/list-devices.py | 2 | ||||
-rwxr-xr-x | examples/python/dbus/update-secrets.py | 4 | ||||
-rwxr-xr-x | examples/python/dbus/vpn.py | 2 | ||||
-rwxr-xr-x | examples/shell/nm-logging.sh | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/examples/C/glib/get-ap-info-libnm.c b/examples/C/glib/get-ap-info-libnm.c index 2c1c019498..b312356c76 100644 --- a/examples/C/glib/get-ap-info-libnm.c +++ b/examples/C/glib/get-ap-info-libnm.c @@ -79,7 +79,7 @@ show_access_point_info (NMAccessPoint *ap) { guint32 flags, wpa_flags, rsn_flags, freq, bitrate; guint8 strength; - GBytes *ssid; + GBytes *ssid; const char *hwaddr; NM80211Mode mode; char *freq_str, *ssid_str, *bitrate_str, *strength_str, *wpa_flags_str, *rsn_flags_str; @@ -158,7 +158,7 @@ show_wifi_device_info (NMDevice *device) const char *iface; const char *driver; guint32 speed; - GBytes *active_ssid; + GBytes *active_ssid; char *active_ssid_str = NULL; int i; diff --git a/examples/python/dbus/list-devices.py b/examples/python/dbus/list-devices.py index 84ece38ab6..1afb5a4559 100755 --- a/examples/python/dbus/list-devices.py +++ b/examples/python/dbus/list-devices.py @@ -72,7 +72,7 @@ for d in devices: print("============================") print("Interface: %s" % props['Interface']) - try: + try: devtype = devtypes[props['DeviceType']] except KeyError: devtype = "Unknown" diff --git a/examples/python/dbus/update-secrets.py b/examples/python/dbus/update-secrets.py index 3a51446bd7..1fc7320926 100755 --- a/examples/python/dbus/update-secrets.py +++ b/examples/python/dbus/update-secrets.py @@ -22,7 +22,7 @@ # Update() method. The method replaces all previous settings with new ones # including possible secrets. # So, we get all settings using GetSettings() and then find out what secrets -# are associated with the connection using GetSecrets(), ask for new secret +# are associated with the connection using GetSecrets(), ask for new secret # values, and add them to the settings that we pass to Update(). # @@ -104,7 +104,7 @@ con = find_connection(sys.argv[1]) print("Connection found: " + con_path) if con: - # Obtain new secrets and put then into connection dict + # Obtain new secrets and put then into connection dict change_secrets(con_path, con) # Change the connection with Update() diff --git a/examples/python/dbus/vpn.py b/examples/python/dbus/vpn.py index ceaf6b9740..a21b82ff30 100755 --- a/examples/python/dbus/vpn.py +++ b/examples/python/dbus/vpn.py @@ -114,7 +114,7 @@ def activate_connection(connection_path, device_path): iface = dbus.Interface(proxy, dbus_interface='org.freedesktop.NetworkManager') iface.ActivateConnection('org.freedesktop.NetworkManager', connection_path, - device_path, + device_path, "/", reply_handler=reply_handler, error_handler=error_handler) diff --git a/examples/shell/nm-logging.sh b/examples/shell/nm-logging.sh index afd06e5aae..0988e55ec2 100755 --- a/examples/shell/nm-logging.sh +++ b/examples/shell/nm-logging.sh @@ -23,7 +23,7 @@ # Sets NM logging level and/or domains (see description in 'man NetworkManager.conf') # The level controls how verbose NM's log output will be (err,warn,info,debug). # Domains control what parts of networking NM emits log messages for. Leaving -# either of the two arguments blank (i.e., an empty string) will leave that +# either of the two arguments blank (i.e., an empty string) will leave that # parameter unchanged. # # The normal logging level is 'info', for debugging use 'debug'. |