Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ka_task.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2009-12-31 07:28:45 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2009-12-31 07:28:45 (GMT)
commitee878465ad84f8b2fd25eccf690ea29dde27e7df (patch)
treebf93ed14c343f6468d7e5ec5846feff118aac31b /ka_task.py
parentad81db80eab45f50b47e74e96912983e2bd07eb0 (diff)
using unicode characters as stamps
Diffstat (limited to 'ka_task.py')
-rw-r--r--ka_task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ka_task.py b/ka_task.py
index 604e7d6..e1c3cb7 100644
--- a/ka_task.py
+++ b/ka_task.py
@@ -74,11 +74,11 @@ class GeneratorTask(object):
self._task_function = task_function
def _start(self, *args, **dummy):
- """GTK will start this task whenever there are no higher priority
- events pending to the default main loop."""
try:
GeneratorTask._enter()
result = self._task_function(*args)
+ # GTK will start this 'completed task' whenever there are no higher
+ # priority events pending to the default main loop.
gobject.idle_add(self._on_task_completed, result)
except:
GeneratorTask.leave()