diff -r a7a18893730d -r b1b0939517e7 degal/command.py --- a/degal/command.py Thu Jun 11 00:37:01 2009 +0300 +++ b/degal/command.py Thu Jun 11 20:39:59 2009 +0300 @@ -2,6 +2,8 @@ Command implementations """ +import task + import inspect, logging, traceback class CommandList (object) : @@ -67,6 +69,9 @@ self.config = config self.gallery = gallery + # set up a task executor for this + self.tasks = task.TaskManager(config) + def __call__ (self, *args, **kwargs) : """ Run the command in this context