From 6bd80ef34003d755856c5caf2186d7165841b71c Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 29 Aug 2007 07:36:09 +0000
Subject: [PATCH] =?UTF-8?q?fix=20equality=20test=20(by=20A=C3=AFssam)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/product/ERP5/Tool/ContributionTool.py b/product/ERP5/Tool/ContributionTool.py
index cbb39b9171..89c3a3b895 100644
--- a/product/ERP5/Tool/ContributionTool.py
+++ b/product/ERP5/Tool/ContributionTool.py
@@ -672,7 +672,7 @@ class ContributionTool(BaseTool):
       # md5 stuff to compare contents
       new_content_md5 = md5.md5(data).hexdigest()
       content_md5 = content.getContentMd5()
-      if content_md5 is new_content_md5:
+      if content_md5 == new_content_md5:
         return
       content._edit(file=file)# Please make sure that if content is the same
                               # we do not update it
-- 
2.30.9