# HG changeset patch # User Goffi # Date 1452204195 -3600 # Node ID 0158ab00afeaa11167e81c2b4db1deb4caed7304 # Parent 4beb613d277c6f306f738922757f371e2cbe3827 tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute diff -r 4beb613d277c -r 0158ab00afea src/tmp/wokkel/rsm.py --- a/src/tmp/wokkel/rsm.py Thu Jan 07 22:48:49 2016 +0100 +++ b/src/tmp/wokkel/rsm.py Thu Jan 07 23:03:15 2016 +0100 @@ -171,9 +171,6 @@ @return: RSM request element. @rtype: L{domish.Element} """ - if element.name == 'pubsub' and hasattr(element, 'items'): - element.items.attributes['max_items'] = unicode(self.max) - set_elt = self.toElement() element.addChild(set_elt)