diff options
author | Rodolfo Henrique Carvalho <rhcarvalho@gmail.com> | 2012-01-22 01:53:07 -0200 |
---|---|---|
committer | Rodolfo Henrique Carvalho <rhcarvalho@gmail.com> | 2012-01-22 01:53:07 -0200 |
commit | 5f1d4ce43308bb264dff485a8c29eb9b4d2fe534 (patch) | |
tree | ef7b10f24e5884608d046287ca11a6356e2957c4 /sleekxmpp | |
parent | 25f87607aab0de024be90d6e6d0e96c19e827f49 (diff) | |
download | slixmpp-5f1d4ce43308bb264dff485a8c29eb9b4d2fe534.tar.gz slixmpp-5f1d4ce43308bb264dff485a8c29eb9b4d2fe534.tar.bz2 slixmpp-5f1d4ce43308bb264dff485a8c29eb9b4d2fe534.tar.xz slixmpp-5f1d4ce43308bb264dff485a8c29eb9b4d2fe534.zip |
Set default argument value.
Without this features/feature_mechanisms/mechanisms.py throws an error when calling the method `process' without arguments on this mechanism.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/thirdparty/suelta/mechanisms/cram_md5.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/thirdparty/suelta/mechanisms/cram_md5.py b/sleekxmpp/thirdparty/suelta/mechanisms/cram_md5.py index ba44befe..e07bb883 100644 --- a/sleekxmpp/thirdparty/suelta/mechanisms/cram_md5.py +++ b/sleekxmpp/thirdparty/suelta/mechanisms/cram_md5.py @@ -33,7 +33,7 @@ class CRAM_MD5(Mechanism): if 'savepass' not in self.values: del self.values['password'] - def process(self, challenge): + def process(self, challenge=None): """ """ if challenge is None: |