diff python/multiproc.py @ 612:839dfd35d567

STUB: python/multiproc.py
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Feb 2014 15:33:18 -0800
parents 8e23bbc9c197
children bf3f8bc6d1b3
line wrap: on
line diff
--- a/python/multiproc.py	Sun Feb 02 15:32:29 2014 -0800
+++ b/python/multiproc.py	Sun Feb 02 15:33:18 2014 -0800
@@ -68,7 +68,7 @@
             # check for timeout
             curr_time = time.time()
             run_time = curr_time - self.start
-            if run_time > maxtime:
+            if maxtime is not None and run_time > maxtime:
                 self.kill()
                 self._finalize(process_output)
                 return