Package: python-taskflow / 4.5.0-3

reproducible_build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Forwarded: https://review.openstack.org/600702
Last-Update: 2017-04-15

Index: python-taskflow/taskflow/conductors/backends/impl_executor.py
===================================================================
--- python-taskflow.orig/taskflow/conductors/backends/impl_executor.py
+++ python-taskflow/taskflow/conductors/backends/impl_executor.py
@@ -109,7 +109,9 @@ class ExecutorConductor(base.Conductor):
     def __init__(self, name, jobboard,
                  persistence=None, engine=None,
                  engine_options=None, wait_timeout=None,
-                 log=None, max_simultaneous_jobs=MAX_SIMULTANEOUS_JOBS):
+                 log=None, max_simultaneous_jobs=None):
+        if max_simultaneous_jobs is None:
+            max_simultaneous_jobs = MAX_SIMULTANEOUS_JOBS
         super(ExecutorConductor, self).__init__(
             name, jobboard, persistence=persistence,
             engine=engine, engine_options=engine_options)