From a7188c4f730810b3af224205b03713a83b9b0325 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 26 Sep 2007 07:25:50 +0000
Subject: [PATCH] Typo

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

diff --git a/product/ERP5/Document/Inventory.py b/product/ERP5/Document/Inventory.py
index d101d10782..db625dec21 100644
--- a/product/ERP5/Document/Inventory.py
+++ b/product/ERP5/Document/Inventory.py
@@ -118,7 +118,7 @@ class Inventory(Delivery):
     for line in current_inventory_list:
       current_inventory_key = tuple(
           [line[x] for x in current_inventory_key_id_list])
-      if current_inventory_key[1] == None:
+      if current_inventory_key[1] is None:
         # To be consistent
         current_inventory_key = (current_inventory_key[0], "")
       try:
-- 
2.30.9