Print out job sarted notification for device jobs to the debug queue

This commit is contained in:
Kovid Goyal 2011-06-20 12:40:25 -06:00
parent 9672083e84
commit 47415caf3b

View File

@ -49,6 +49,9 @@ class DeviceJob(BaseJob): # {{{
self._aborted = False self._aborted = False
def start_work(self): def start_work(self):
if DEBUG:
prints('Job:', self.id, self.description, 'started',
safe_encode=True)
self.start_time = time.time() self.start_time = time.time()
self.job_manager.changed_queue.put(self) self.job_manager.changed_queue.put(self)