# HG changeset patch # User Goffi # Date 1439670280 -7200 # Node ID 4fb3280c4568a41d2ccf3426c4df7f4aeff437dc # Parent 4e2fab4de195018eb2ea9acec8455686c72933e9 tmp (wokkel.rsm): use of super instead of direct call in PubSubRequest diff -r 4e2fab4de195 -r 4fb3280c4568 src/memory/sqlite.py --- a/src/memory/sqlite.py Sat Aug 15 22:24:38 2015 +0200 +++ b/src/memory/sqlite.py Sat Aug 15 22:24:40 2015 +0200 @@ -721,7 +721,7 @@ @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 diff -r 4e2fab4de195 -r 4fb3280c4568 src/tmp/wokkel/rsm.py --- a/src/tmp/wokkel/rsm.py Sat Aug 15 22:24:38 2015 +0200 +++ b/src/tmp/wokkel/rsm.py Sat Aug 15 22:24:40 2015 +0200 @@ -265,7 +265,7 @@ 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')