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
+ except ObjectDeleted:
+ # Re-raise with a different result.
+ raise ObjectDeleted(res)
+ except ObjectMoved, ex:
+ except ObjectMoved as ex:
+ # Re-raise with a different result.
+ raise ObjectMoved(ex.getNewObject(), res)
+ return res
......
......@@ -31,12 +31,12 @@ eggs =
Products.CMFCore
Products.PythonScripts
Products.SiteErrorLog
Products.DCWorkflow
xml_marshaller
mysqlclient
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
[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