Commit e28604d6 authored by Aurel's avatar Aurel

fix exception for py3 in patch

parent acf0fcbf
...@@ -53,7 +53,7 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D ...@@ -53,7 +53,7 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D
+ except ObjectDeleted: + except ObjectDeleted:
+ # Re-raise with a different result. + # Re-raise with a different result.
+ raise ObjectDeleted(res) + raise ObjectDeleted(res)
+ except ObjectMoved, ex: + except ObjectMoved as ex:
+ # Re-raise with a different result. + # Re-raise with a different result.
+ raise ObjectMoved(ex.getNewObject(), res) + raise ObjectMoved(ex.getNewObject(), res)
+ return res + return res
......
...@@ -31,12 +31,12 @@ eggs = ...@@ -31,12 +31,12 @@ eggs =
Products.CMFCore Products.CMFCore
Products.PythonScripts Products.PythonScripts
Products.SiteErrorLog Products.SiteErrorLog
Products.DCWorkflow
xml_marshaller xml_marshaller
mysqlclient mysqlclient
Products.ZSQLMethods Products.ZSQLMethods
Products.DCWorkflow
Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch#7908d849d453a23c321a1a838abddadc Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch#e44faaf9953eee21124c572039ffecf1
Products.DCWorkflow-patch-options = -p1 Products.DCWorkflow-patch-options = -p1
[python] [python]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment