# HG changeset patch # User Goffi # Date 1451842601 -3600 # Node ID 80f9a1a3d0029f0353fce046f4353090266ac03f # Parent ba8ce62bfab0a1fe8c526e0d8dc8b2a4cd105130 tmp (rsm): removed useless cast diff -r ba8ce62bfab0 -r 80f9a1a3d002 wokkel/rsm.py --- 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'):