Mercurial > sat_tmp
changeset 19:80f9a1a3d002
tmp (rsm): removed useless cast
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jan 2016 18:36:41 +0100 |
parents | ba8ce62bfab0 |
children | 81f9b53ec7e4 |
files | wokkel/rsm.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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'):