From 6988baa9c25a4ba60c6aa20edeff45ba698696e7 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Thu, 29 Mar 2007 10:05:58 +0000
Subject: [PATCH] There was a typo in the document constructor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13786 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index 41ca352dde..dec039103a 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -337,7 +337,7 @@ class DocumentConstructor(Method):
       folder._setObject(id, o)
       o = folder._getOb(id)
       # if no activity tool, the object has already an uid
-      if getattr(aq_base(o),' uid', None) is None:
+      if getattr(aq_base(o), 'uid', None) is None:
         o.uid = folder.portal_catalog.newUid()
       if kw: o._edit(force_update=1, **kw)
       if REQUEST is not None:
-- 
2.30.9