diff -r 2d3721b9ffd0 -r a2e4562deaab degal/command.py --- a/degal/command.py Sun Jun 14 18:24:14 2009 +0300 +++ b/degal/command.py Sun Jun 14 20:05:11 2009 +0300 @@ -2,7 +2,7 @@ Command implementations """ -import inspect, logging, traceback +import inspect, logging, traceback, concurrent class CommandList (object) : """ @@ -67,6 +67,9 @@ self.config = config self.gallery = gallery + # conccurency + self.concurrent = concurrent.Manager(thread_count=config.thread_count) + def execute (self, *args, **kwargs) : """ Run the command in this context