Commit 54acbffd authored by Nicolas Delaby's avatar Nicolas Delaby

setPath when object is None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14444 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 210166d1
......@@ -254,6 +254,8 @@ class Signature(Folder,SyncCode):
self.setGid(gid)
if object is not None:
self.setPath(object.getPhysicalPath())
else:
self.setPath(None)
self.setId(id)
self.status = status
self.setXML(xml_string)
......
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