* morituri/common/task.py:

Add a __main__ example using DummyTask.
This commit is contained in:
Thomas Vander Stichele
2009-04-19 22:01:39 +00:00
parent cfeedbca3c
commit 9905dbad75
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2009-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/task.py:
Add a __main__ example using DummyTask.
2009-04-19 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/task.py:

View File

@@ -248,3 +248,7 @@ class GtkProgressRunner(gtk.VBox, TaskRunner):
self._progress.set_fraction(value)
if __name__ == '__main__':
task = DummyTask()
runner = SyncRunner()
runner.run(task)