Commit 1a2361ea authored by Yoshinori Okuji's avatar Yoshinori Okuji

In Zope 2.8, __init__ of Ghost takes oid as an argument.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4440 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea80bf64
......@@ -1014,8 +1014,11 @@ def reorderPickle(jar, p):
if type(ooid) is TupleType: ooid, klass = ooid
else: klass=None
Ghost=Ghost()
Ghost.oid=ooid
try:
Ghost=Ghost()
Ghost.oid=ooid
except TypeError:
Ghost=Ghost(ooid)
return Ghost
......
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