diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-01-10 02:18:07 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-01-10 02:18:07 +0100 |
commit | 20e88fda50832c8a3412586da58f19df2325fef7 (patch) | |
tree | 8d56b328aec4a543ae2fc35bf7b2712a24f24e6b /slixmpp/plugins/xep_0009 | |
parent | f252be9b6d617ad02f7c9420e62ba6948374c0d1 (diff) | |
download | slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.gz slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.bz2 slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.xz slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.zip |
Fix typos, thanks `codespell`!
Diffstat (limited to 'slixmpp/plugins/xep_0009')
-rw-r--r-- | slixmpp/plugins/xep_0009/remote.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0009/remote.py b/slixmpp/plugins/xep_0009/remote.py index a9f45486..6fa85cc7 100644 --- a/slixmpp/plugins/xep_0009/remote.py +++ b/slixmpp/plugins/xep_0009/remote.py @@ -61,7 +61,7 @@ def _intercept(method, name, public): except InvocationException: raise except Exception as e: - raise InvocationException("A problem occured calling %s.%s!" % (instance.FQN(), method.__name__), e) + raise InvocationException("A problem occurred calling %s.%s!" % (instance.FQN(), method.__name__), e) _resolver._rpc = public _resolver._rpc_name = method.__name__ if name is None else name return _resolver @@ -696,7 +696,7 @@ class RemoteSession(object): e = { 'item-not-found': RemoteException("No remote handler available for %s at %s!" % (pmethod, iq['from'])), 'forbidden': AuthorizationException("Forbidden to invoke remote handler for %s at %s!" % (pmethod, iq['from'])), - 'undefined-condition': RemoteException("An unexpected problem occured trying to invoke %s at %s!" % (pmethod, iq['from'])), + 'undefined-condition': RemoteException("An unexpected problem occurred trying to invoke %s at %s!" % (pmethod, iq['from'])), }[condition] if e is None: RemoteException("An unexpected exception occurred at %s!" % iq['from']) |