From 79a80fb4c957c8adb58495c1e4e97465c3b13677 Mon Sep 17 00:00:00 2001 From: Mame Coumba Sall <mame@nexedi.com> Date: Tue, 17 Mar 2009 14:54:30 +0000 Subject: [PATCH] add space after commas' git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26079 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py index b3d855fff4..49d23bc852 100644 --- a/product/ERP5Type/Utils.py +++ b/product/ERP5Type/Utils.py @@ -278,10 +278,11 @@ def int2letters(i): return int2letter(d - 1) + int2letter(m) #Get message id for translation -def getMessageIdWithContext(msg_id,context,workflow_id): - return '%s [%s in %s]' % (msg_id,context, workflow_id) +def getMessageIdWithContext(msg_id, context, context_id): + return '%s [%s in %s]' % (msg_id,context,context_id) + #Get translation of msg id -def getTranslationStringWithContext(self,msg_id, context, context_id): +def getTranslationStringWithContext(self, msg_id, context, context_id): portal = self.getPortalObject() portal_workflow = portal.portal_workflow localizer = portal.Localizer -- 2.30.9