Author: asterix Date: 2007-02-06 09:57:59 +0100 (Tue, 06 Feb 2007) New Revision: 7938
Modified: trunk/src/common/xmpp/auth_nb.py Log: [smoku] fix SASL auth. fixes #1911
Modified: trunk/src/common/xmpp/auth_nb.py =================================================================== --- trunk/src/common/xmpp/auth_nb.py 2007-02-04 18:57:25 UTC (rev 7937) +++ trunk/src/common/xmpp/auth_nb.py 2007-02-06 08:57:59 UTC (rev 7938) @@ -49,7 +49,7 @@ if expecting == X_KEYWORD: if char == '=': expecting = X_VALUE - elif char == ',': + elif char in (',', ' ', '\t'): pass else: keyword = '%s%c' % (keyword, char) @@ -59,7 +59,7 @@ end = True else: quotes_open = True - elif char == ",": + elif char in (',', ' ', '\t'): if quotes_open: if not arr: arr = [value]