tools (common/uri): minor comment update

This commit is contained in:
Goffi 2017-04-20 17:20:44 +02:00
commit 3ecb61f064

View file

@ -43,6 +43,8 @@ def parseXMPPUri(uri):
if uri_split.scheme != 'xmpp':
raise ValueError(u'this is not a XMPP URI')
# XXX: we don't use jid.JID for path as it can be used both in backend and frontend
# which may use different JID classes
data = {u'path': urllib.unquote(uri_split.path).decode('utf-8')}
query_end = uri_split.query.find(';')