changeset 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 4e2fab4de195
children a13be5c22334
files src/memory/sqlite.py src/tmp/wokkel/rsm.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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')