diff options
Diffstat (limited to 'src/common/xmpp/auth.py')
-rw-r--r-- | src/common/xmpp/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/xmpp/auth.py b/src/common/xmpp/auth.py index f524e2e11..550b479db 100644 --- a/src/common/xmpp/auth.py +++ b/src/common/xmpp/auth.py @@ -195,7 +195,7 @@ class SASL(PlugIn): resp['response']=response resp['charset']='utf-8' sasl_data='' - for key in ['charset','username','realm','nonce','nc','cnonce','digest-uri','response','qop']: + for key in ('charset','username','realm','nonce','nc','cnonce','digest-uri','response','qop'): if key in ['nc','qop','response','charset']: sasl_data+="%s=%s,"%(key,resp[key]) else: sasl_data+='%s="%s",'%(key,resp[key]) ########################################3333 |