Mercurial > sat_tmp
diff wokkel/rsm.py @ 19:80f9a1a3d002
tmp (rsm): removed useless cast
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jan 2016 18:36:41 +0100 |
parents | 4629645a368d |
children | 54f834e40341 |
line wrap: on
line diff
--- a/wokkel/rsm.py Sun Jan 03 18:36:39 2016 +0100 +++ b/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'):