From 90ba96f34d52220611d40987e4c315aa5b39782c Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 22 Apr 2005 13:54:02 +0000
Subject: [PATCH] one case was missing for insert_line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2942 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ZSQLCatalog/SQLCatalog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index ce13ac6f19..c12eb8e3a0 100755
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -883,6 +883,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
         elif catalog_path is None:
           # No line in catalog table
           insert_catalog_line = 1
+          insert_line = 1
           #LOG("SQLCatalog Warning: insert_catalog_line, case3",0,insert_catalog_line)
         else:
           #LOG('SQLCatalog WARNING',0,'assigning new uid to already catalogued object %s' % path)
-- 
2.30.9