tmp (wokkel.rsm): use of super instead of direct call in PubSubRequest
This commit is contained in:
parent
1e21730bfe
commit
32592acdf5
2 changed files with 2 additions and 2 deletions
|
|
@ -721,7 +721,7 @@ class Updater(object):
|
|||
@defer.inlineCallbacks
|
||||
def update2raw(self, update, dev_version=False):
|
||||
""" Transform update data to raw SQLite statements
|
||||
@param upadte: update data as returned by generateUpdateData
|
||||
@param update: update data as returned by generateUpdateData
|
||||
@param dev_version: if True, update will be done in dev mode: no deletion will be done, instead a message will be shown. This prevent accidental lost of data while working on the code/database.
|
||||
@return: list of string with SQL statements needed to update the base
|
||||
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ class PubSubRequest(pubsub.PubSubRequest):
|
|||
rsm = None
|
||||
|
||||
def __init__(self, verb=None):
|
||||
pubsub.PubSubRequest.__init__(self, verb)
|
||||
super(PubSubRequest, self).__init__(verb)
|
||||
self._parameters = copy.deepcopy(pubsub.PubSubRequest._parameters)
|
||||
self._parameters['items'].append('rsm')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue