Changeset 11 for trunk/lib/nanownlib/parallel.py
- Timestamp:
- 07/16/15 20:40:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/nanownlib/parallel.py
r9 r11 1 1 # 2 2 3 import sys 3 4 import threading 4 5 import queue … … 33 34 self.resultq.put((job_id, self.target(*args))) 34 35 except Exception as e: 35 sys.stderr.write("ERROR: Job '%s' failed with '%s'. Dropping...\n" ,36 sys.stderr.write("ERROR: Job '%s' failed with '%s'. Dropping...\n" % 36 37 (str(job_id),str(e))) 37 38 self.workq.task_done()
Note: See TracChangeset
for help on using the changeset viewer.