Mercurial > libervia-backend
diff src/tmp/wokkel/rsm.py @ 1768:7debf3a4bf14
tmp (rsm): removed useless cast
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jan 2016 18:36:41 +0100 |
parents | 30ba7cac1dd2 |
children | b77dc676a4df |
line wrap: on
line diff
--- a/src/tmp/wokkel/rsm.py Sun Jan 03 18:36:39 2016 +0100 +++ b/src/tmp/wokkel/rsm.py Sun Jan 03 18:36:41 2016 +0100 @@ -30,7 +30,6 @@ import copy -# RSM namespace NS_RSM = 'http://jabber.org/protocol/rsm' @@ -99,7 +98,7 @@ raise RSMNotFoundError() request = RSMRequest() - for elt in list(set_elt.elements()): + for elt in set_elt.elements(): if elt.name in ('before', 'after'): setattr(request, elt.name, ''.join(elt.children)) elif elt.name in ('max', 'index'):