From: Ed Page Date: Sun, 10 Jan 2010 03:47:56 +0000 (-0600) Subject: When removing the async calls I ended up wiping information on a callback, so moving... X-Git-Url: http://git.maemo.org/git/?p=theonering;a=commitdiff_plain;h=b88c8bef6b10e97db6d75e6fbaba8447092a758e When removing the async calls I ended up wiping information on a callback, so moving it a couple lines up should fix it --- diff --git a/src/gvoice/state_machine.py b/src/gvoice/state_machine.py index c33a9c8..c2e43da 100644 --- a/src/gvoice/state_machine.py +++ b/src/gvoice/state_machine.py @@ -238,11 +238,11 @@ class UpdateStateMachine(StateMachine): @gtk_toolbox.log_exception(_moduleLogger) def _on_timeout(self): _moduleLogger.debug("%s Update" % (self._name)) + self._timeoutId = None + self._schedule_update() for item in self._updateItems: try: item.update(force=True) except Exception: _moduleLogger.exception("Update failed for %r" % item) - self._timeoutId = None - self._schedule_update() return False # do not continue