From 4489e046236e36a352be1b514504992422a80568 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Mon, 19 Nov 2007 14:31:07 +0000 Subject: [PATCH] typo git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17685 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PaySheetTransaction.py | 32 ++++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py index 3d64c46ad2..1d4532d105 100644 --- a/product/ERP5/Document/PaySheetTransaction.py +++ b/product/ERP5/Document/PaySheetTransaction.py @@ -190,11 +190,12 @@ class PaySheetTransaction(Invoice): # perhaps here it will be necesary to raise an error ? if not paysheet_items.has_key(service_id): - paysheet_items[service_id] = { 'title' : model_line.getTitleOrId() - , 'id' : model_line.getId() - , 'desc' : [] - , 'res' : service.getRelativeUrl() - , 'cell_list' : [] + paysheet_items[service_id] = { + 'title' : model_line.getTitleOrId(), + 'id' : model_line.getId(), + 'desc' : [], + 'res' : service.getRelativeUrl(), + 'cell_list': [] } # create cells if a value has been entered by accountable @@ -226,12 +227,11 @@ class PaySheetTransaction(Invoice): else: desc = None paysheet.createPaySheetLine( - title = item['title'] - , id = item['id'] - , res = item['res'] - , desc = desc - , cell_list = item['cell_list'] - ) + title = item['title'], + id = item['id'], + res = item['res'], + desc = desc, + cell_list = item['cell_list'],) security.declareProtected(Permissions.ModifyPortalContent, @@ -481,11 +481,11 @@ class PaySheetTransaction(Invoice): if cell_list: # create the PaySheetLine pay_sheet_line = self.createPaySheetLine( - title = title - , id = id - , res = res - , desc = desc - , cell_list = cell_list + title = title, + id = id, + res = res, + desc = desc, + cell_list = cell_list, ) pay_sheet_line_list.append(pay_sheet_line) -- 2.30.9