def newSiteInteraction(self, trans, *args):
trans.execute(*args)
- return trans.lastrowid
- def done(self, result, *args, **kw):
+ def done(self, *args, **kw):
site_history_new_ids = self.state.get("site_history_new_ids", [])
self.d.callback(dict(site_id=self.state["site_id"],
site_history_new_ids=site_history_new_ids,
def updateDoneError(self, *args, **kw):
self.d.errback(self.orig_failure)
- def updateDone(self, result, *args, **kw):
+ def updateDone(self, *args, **kw):
self.d.callback(dict(site_id=None, type=None))