diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 11:24:41 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 11:24:41 +0100 |
| commit | bbae86d3d2997a853ca0365e8eb7a3ca7489ee09 (patch) | |
| tree | 1f7fa49b47ab13aea3effbe839559d221f6323b4 /examples/python | |
| parent | 404ebe62622150e77e311777dff8617eb974e834 (diff) | |
New upstream version 1.15.2
Diffstat (limited to 'examples/python')
| -rwxr-xr-x | examples/python/dbus/create-bond.py | 2 | ||||
| -rwxr-xr-x | examples/python/dbus/show-bssids.py | 2 | ||||
| -rwxr-xr-x | examples/python/dbus/vpn.py | 2 | ||||
| -rwxr-xr-x | examples/python/gi/add_connection.py | 2 | ||||
| -rwxr-xr-x | examples/python/gi/deactivate-all.py | 2 |
5 files changed, 5 insertions, 5 deletions
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, |