diff options
author | Lance Stout <lancestout@gmail.com> | 2013-01-24 02:45:14 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-01-24 02:45:14 -0800 |
commit | a186972f09db03c6e8dae2126ad86801cdc27d2f (patch) | |
tree | 536efbe9458184b6d1f240ae63a2ee33b47d41f1 | |
parent | 751628401ebc23fd8919c99758db2878817c0056 (diff) | |
download | slixmpp-a186972f09db03c6e8dae2126ad86801cdc27d2f.tar.gz slixmpp-a186972f09db03c6e8dae2126ad86801cdc27d2f.tar.bz2 slixmpp-a186972f09db03c6e8dae2126ad86801cdc27d2f.tar.xz slixmpp-a186972f09db03c6e8dae2126ad86801cdc27d2f.zip |
Ensure XMPPError.text is a string.
-rw-r--r-- | sleekxmpp/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/exceptions.py b/sleekxmpp/exceptions.py index 8036532d..8a2aa75c 100644 --- a/sleekxmpp/exceptions.py +++ b/sleekxmpp/exceptions.py @@ -42,7 +42,7 @@ class XMPPError(Exception): Defaults to ``True``. """ - def __init__(self, condition='undefined-condition', text=None, + def __init__(self, condition='undefined-condition', text='', etype='cancel', extension=None, extension_ns=None, extension_args=None, clear=True): if extension_args is None: |