From ea84a344db237ee58cb9ba85e3d96b3673b34c79 Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 7 Jan 2016 23:03:15 +0100 Subject: [PATCH] tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute --- src/tmp/wokkel/rsm.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tmp/wokkel/rsm.py b/src/tmp/wokkel/rsm.py index 5c7b439c..e6cf6cd7 100644 --- a/src/tmp/wokkel/rsm.py +++ b/src/tmp/wokkel/rsm.py @@ -171,9 +171,6 @@ class RSMRequest(object): @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)