From 02f2305d8714ce1f87ed23c832ca8066b4c743fb Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Tue, 3 Feb 2004 09:51:31 +0000
Subject: [PATCH] corrected expression of subobject

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@386 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5SyncML/SyncCode.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5SyncML/SyncCode.py b/product/ERP5SyncML/SyncCode.py
index 3aac49f115..cc68f0e8da 100755
--- a/product/ERP5SyncML/SyncCode.py
+++ b/product/ERP5SyncML/SyncCode.py
@@ -93,8 +93,8 @@ class SyncCode(Persistent):
   local_role_tag = 'local_role'
   local_role_list = (local_role_tag,'/'+local_role_tag)
   ADDABLE_PROPERTY = (local_role_tag,history_tag)
-  sub_object_exp = "/object\[@id='.*'\]/object\[@id='.*'\]"
+  sub_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
   bad_history_exp = "/%s\[@id='.*'\]/" % history_tag
-- 
2.30.9