Mercurial > libervia-backend
comparison src/tmp/wokkel/rsm.py @ 1455:4fb3280c4568
tmp (wokkel.rsm): use of super instead of direct call in PubSubRequest
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 15 Aug 2015 22:24:40 +0200 |
parents | ea48663b2605 |
children | 91631837ce5c |
comparison
equal
deleted
inserted
replaced
1454:4e2fab4de195 | 1455:4fb3280c4568 |
---|---|
263 """ | 263 """ |
264 | 264 |
265 rsm = None | 265 rsm = None |
266 | 266 |
267 def __init__(self, verb=None): | 267 def __init__(self, verb=None): |
268 pubsub.PubSubRequest.__init__(self, verb) | 268 super(PubSubRequest, self).__init__(verb) |
269 self._parameters = copy.deepcopy(pubsub.PubSubRequest._parameters) | 269 self._parameters = copy.deepcopy(pubsub.PubSubRequest._parameters) |
270 self._parameters['items'].append('rsm') | 270 self._parameters['items'].append('rsm') |
271 | 271 |
272 def _parse_rsm(self, verbElement): | 272 def _parse_rsm(self, verbElement): |
273 try: | 273 try: |