# HG changeset patch # User Goffi # Date 1451842601 -3600 # Node ID 7debf3a4bf14d82d3912adc3b2f7862f4b753ce1 # Parent 8c7450bd933573e4b6b80c29120247fa99d461f0 tmp (rsm): removed useless cast diff -r 8c7450bd9335 -r 7debf3a4bf14 src/tmp/wokkel/rsm.py --- 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'):