From af72f823394a6b14146f26ef2875db4e9a0786bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dani=C3=A8le=20Vanbaelinghem?= <daniele@nexedi.com>
Date: Mon, 1 Mar 2010 10:45:20 +0000
Subject: [PATCH] Raise if the zsql_method of creation or delete of tables
 fails during a clear catalog

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33171 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 29a7e2240a..cecf1b7f60 100644
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -805,6 +805,7 @@ class Catalog(Folder,
       except:
         LOG('SQLCatalog', WARNING,
             'could not clear catalog with %s' % method_name, error=sys.exc_info())
+        raise
 
     # Reserved uids have been removed.
     self.clearReserved()
-- 
2.30.9