File: reproducible_build.patch

package info (click to toggle)
python-taskflow 6.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,536 kB
  • sloc: python: 27,557; sh: 269; makefile: 24
file content (20 lines) | stat: -rw-r--r-- 965 bytes parent folder | 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
@@ -101,7 +101,9 @@
     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().__init__(
             name, jobboard, persistence=persistence,
             engine=engine, engine_options=engine_options)