From bbae86d3d2997a853ca0365e8eb7a3ca7489ee09 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Fri, 25 Jan 2019 11:24:41 +0100 Subject: New upstream version 1.15.2 --- examples/python/dbus/create-bond.py | 2 +- examples/python/dbus/show-bssids.py | 2 +- examples/python/dbus/vpn.py | 2 +- examples/python/gi/add_connection.py | 2 +- examples/python/gi/deactivate-all.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/python') diff --git a/examples/python/dbus/create-bond.py b/examples/python/dbus/create-bond.py index 4600b9c2..4347b2a0 100755 --- a/examples/python/dbus/create-bond.py +++ b/examples/python/dbus/create-bond.py @@ -101,7 +101,7 @@ loop = GObject.MainLoop() def properties_changed(props): if 'State' in props: if props['State'] == 2: - print("Succesfully connected") + print("Successfully connected") loop.quit() if props['State'] == 3 or props['State'] == 4: print("Bond activation failed") diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py index 9776864f..b364ed03 100755 --- a/examples/python/dbus/show-bssids.py +++ b/examples/python/dbus/show-bssids.py @@ -18,7 +18,7 @@ # -# This example prints out all the AP BSSIDs that all WiFi devices on the +# This example prints out all the AP BSSIDs that all Wi-Fi devices on the # machine can see. Useful for location-based services like Skyhook that # can geolocate you based on the APs you can see. diff --git a/examples/python/dbus/vpn.py b/examples/python/dbus/vpn.py index a21b82ff..0c4b2bb6 100755 --- a/examples/python/dbus/vpn.py +++ b/examples/python/dbus/vpn.py @@ -137,7 +137,7 @@ if not connection_path: device_path = get_wifi_device_path() if not device_path: - print("no wifi device found") + print("no Wi-Fi device found") sys.exit(1) # Is it already activated? diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py index f5b5e63c..25a59235 100755 --- a/examples/python/gi/add_connection.py +++ b/examples/python/gi/add_connection.py @@ -69,7 +69,7 @@ def create_profile(name): def added_cb(client, result, data): try: client.add_connection_finish(result) - print("The connection profile has been succesfully added to NetworkManager.") + print("The connection profile has been successfully added to NetworkManager.") except Exception as e: sys.stderr.write("Error: %s\n" % e) main_loop.quit() diff --git a/examples/python/gi/deactivate-all.py b/examples/python/gi/deactivate-all.py index a4588522..13d14bc9 100755 --- a/examples/python/gi/deactivate-all.py +++ b/examples/python/gi/deactivate-all.py @@ -35,7 +35,7 @@ import gi gi.require_version('NM', '1.0') from gi.repository import NM -# suported connection types +# supported connection types connection_types = { NM.SETTING_VPN_SETTING_NAME, NM.SETTING_WIRELESS_SETTING_NAME, -- cgit 1.3.0-6-gf8a5