Commit 02f2305d authored by Sebastien Robin's avatar Sebastien Robin

corrected expression of subobject


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@386 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 78385659
...@@ -93,8 +93,8 @@ class SyncCode(Persistent): ...@@ -93,8 +93,8 @@ class SyncCode(Persistent):
local_role_tag = 'local_role' local_role_tag = 'local_role'
local_role_list = (local_role_tag,'/'+local_role_tag) local_role_list = (local_role_tag,'/'+local_role_tag)
ADDABLE_PROPERTY = (local_role_tag,history_tag) ADDABLE_PROPERTY = (local_role_tag,history_tag)
sub_object_exp = "/object\[@id='.*'\]/object\[@id='.*'\]" sub_object_exp = "/object\[@id='.*'\]/"
object_exp = "/object\[@id='.*'\]" object_exp = "/object\[@id='.*'\]"
sub_sub_object_exp = "/object\[@id='.*'\]/object\[@id='.*'\]/object\[@id='.*'\]" sub_sub_object_exp = "/object\[@id='.*'\]/object\[@id='.*'\]/"
history_exp = "/%s\[@id='.*'\]" % history_tag history_exp = "/%s\[@id='.*'\]" % history_tag
bad_history_exp = "/%s\[@id='.*'\]/" % history_tag bad_history_exp = "/%s\[@id='.*'\]/" % history_tag
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