changeset 117 | a2e4562deaab |
parent 114 | 4096f8a7e63c |
child 120 | 55cb7fc9c8fb |
--- 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