From 3d03c2fae3b3bf90aba794573c1b35a0f3986194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Thu, 28 Sep 2006 12:48:47 +0000
Subject: [PATCH] in log, allow for one arg only

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

diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py
index 1840db106f..67c34b3663 100644
--- a/product/ERP5Type/Base.py
+++ b/product/ERP5Type/Base.py
@@ -2196,7 +2196,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, Historical, ERP5Property
     return getattr(self,'title',None)
 
   security.declarePublic('log')
-  def log(self, description, content, level=INFO):
+  def log(self, description, content='', level=INFO):
     """Put a log message """
     if content=='': # allow for content only while keeping interface
         description,content=content,description
-- 
2.30.9