From 115f7e6949fb32a6d564cb00065e0c2cb1b2abed Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Mon, 8 Jun 2009 14:28:40 +0000
Subject: [PATCH] object is a python reserved word

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27416 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PaySheetTransaction.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py
index e0aba55542..846edcc127 100644
--- a/product/ERP5/Document/PaySheetTransaction.py
+++ b/product/ERP5/Document/PaySheetTransaction.py
@@ -85,9 +85,9 @@ class PaySheetTransaction(Invoice):
     # if not find in the paysheet, look on dependence tree
     sub_object_list = self.getInheritedObjectValueList(portal_type_list)
     object_ratio_list = sub_object_list
-    for object in object_ratio_list:
-      if object.getReference() == ratio_reference:
-        return object.getQuantity()
+    for ob in object_ratio_list:
+      if ob.getReference() == ratio_reference:
+        return ob.getQuantity()
 
     return None 
 
-- 
2.30.9