Mercurial > libervia-backend
changeset 1768:7debf3a4bf14
tmp (rsm): removed useless cast
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jan 2016 18:36:41 +0100 |
parents | 8c7450bd9335 |
children | 1fc6a380f4db |
files | src/tmp/wokkel/rsm.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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'):