File: Python3_exception.patch

package info (click to toggle)
python-pyflow 1.1.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 992 kB
  • sloc: python: 4,154; sh: 219; ansic: 15; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: python-pyflow/pyflow/src/pyflow.py
===================================================================
--- python-pyflow.orig/pyflow/src/pyflow.py
+++ python-pyflow/pyflow/src/pyflow.py
@@ -3492,7 +3492,7 @@ class WorkflowRunner(object) :
             except KeyboardInterrupt:
                 msg = "Keyboard Interrupt, shutting down running tasks..."
                 self._killWorkflow(msg)
-            except DataDirException, e:
+            except DataDirException(e):
                 # Special exception for when pyflow directory can't be initialized.
                 # A killWorkflow is not needed for this case, because no workflow
                 # could be started.