docs: misc. typos
Found via `codespell -q 3 --skip="*.po"` https://github.com/NetworkManager/NetworkManager/pull/203
This commit is contained in:

committed by
Beniamino Galvani

parent
30674675cb
commit
f985b6944a
@@ -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")
|
||||
|
@@ -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()
|
||||
|
@@ -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,
|
||||
|
@@ -64,7 +64,7 @@ main_loop = GLib.MainLoop()
|
||||
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, e:
|
||||
print("ERROR: failed to add connection: %s\n" % e)
|
||||
main_loop.quit()
|
||||
|
Reference in New Issue
Block a user