changeset 1781:0158ab00afea

tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute
author Goffi <goffi@goffi.org>
date Thu, 07 Jan 2016 23:03:15 +0100
parents 4beb613d277c
children 514ade866261
files src/tmp/wokkel/rsm.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)