[rhmessaging-commits] rhmessaging commits: r1900 - mgmt/mint/python/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Apr 10 15:11:00 EDT 2008


Author: justi9
Date: 2008-04-10 15:11:00 -0400 (Thu, 10 Apr 2008)
New Revision: 1900

Modified:
   mgmt/mint/python/mint/__init__.py
Log:
Rollback if the create schema fails

Modified: mgmt/mint/python/mint/__init__.py
===================================================================
--- mgmt/mint/python/mint/__init__.py	2008-04-10 13:27:02 UTC (rev 1899)
+++ mgmt/mint/python/mint/__init__.py	2008-04-10 19:11:00 UTC (rev 1900)
@@ -436,6 +436,7 @@
       try:
         cursor.execute("create schema public");
       except:
+        conn.rollback()
         pass
 
       for path, text in scripts:




More information about the rhmessaging-commits mailing list