Commit 72051bee authored by Thomas Vincent's avatar Thomas Vincent

remove attribute/variable duplicate

parent c6c03b63
......@@ -233,7 +233,7 @@ class KmapMerger(object):
try:
manager = Manager()
self.__term_evt = term_evt = manager.Event()
self.__term_evt = manager.Event()
self.__shared_progress = mp_sharedctypes.RawArray(ctypes.c_int32,
len(scans))
......@@ -254,7 +254,7 @@ class KmapMerger(object):
pool = Pool(self.n_proc,
initializer=_init_process,
initargs=(term_evt,
initargs=(self.__term_evt,
self.__shared_progress),
maxtasksperchild=2)
......@@ -262,7 +262,7 @@ class KmapMerger(object):
scan, finished, info = result_
_logger.info('{0} finished.'.format(scan))
if not finished:
term_evt.set()
self.__term_evt.set()
results = {}
self.__proc_indices = proc_indices = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment