| Index: presubmit_support.py
|
| diff --git a/presubmit_support.py b/presubmit_support.py
|
| index 283016ff4fc7426d5cb1c50dea5a131fa36afa5f..23cc5e427ab9cfe101e5cdc0ad65da14e0312807 100755
|
| --- a/presubmit_support.py
|
| +++ b/presubmit_support.py
|
| @@ -478,7 +478,7 @@ class InputApi(object):
|
| else:
|
| assert issubclass(t.message, _PresubmitResult)
|
| tests.append(t)
|
| - if parallel:
|
| + if tests and parallel:
|
| pool = multiprocessing.Pool()
|
| # async recipe works around multiprocessing bug handling Ctrl-C
|
| msgs.extend(pool.map_async(CallCommand, tests).get(99999))
|
|
|