changeset 26:e5dfb97424d5

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 4816f7d55367
children a24c2476f7e0
files wokkel/rsm.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/wokkel/rsm.py	Thu Jan 07 22:48:49 2016 +0100
+++ b/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)