# HG changeset patch # User souliane # Date 1441890256 -7200 # Node ID 4629645a368de32596f64655d5788353769475e3 # Parent 9019d6cbaf0e67504df675792c10f603aaf91687 tmp (wokkel): fixes RSM when maxItems is 0 diff -r 9019d6cbaf0e -r 4629645a368d wokkel/rsm.py --- a/wokkel/rsm.py Thu Sep 10 09:07:32 2015 +0200 +++ b/wokkel/rsm.py Thu Sep 10 15:04:16 2015 +0200 @@ -316,7 +316,7 @@ request = PubSubRequest('items') # that's a rsm.PubSubRequest instance request.recipient = service request.nodeIdentifier = nodeIdentifier - if maxItems: + if maxItems is not None: request.maxItems = str(int(maxItems)) request.subscriptionIdentifier = subscriptionIdentifier request.sender = sender