[rhmessaging-commits] rhmessaging commits: r3050 - mgmt/trunk/mint/python/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Mon Jan 19 11:01:42 EST 2009


Author: justi9
Date: 2009-01-19 11:01:42 -0500 (Mon, 19 Jan 2009)
New Revision: 3050

Modified:
   mgmt/trunk/mint/python/mint/__init__.py
Log:
Whitespace cleanup

Modified: mgmt/trunk/mint/python/mint/__init__.py
===================================================================
--- mgmt/trunk/mint/python/mint/__init__.py	2009-01-19 15:29:47 UTC (rev 3049)
+++ mgmt/trunk/mint/python/mint/__init__.py	2009-01-19 16:01:42 UTC (rev 3050)
@@ -68,7 +68,7 @@
     conn = self.getConnection()
     try:
       cursor = conn.cursor()
-      
+
       cursor.execute("drop schema public cascade")
 
       conn.commit()
@@ -81,16 +81,16 @@
     tmpStmt = ""
 
     for stmt in text.split(";"):
-      stmt = stmt.rstrip()  
+      stmt = stmt.rstrip()
       quotePos = stmt.find("'")
       while quotePos > 0:
-        quotePos += 1  
+        quotePos += 1
         if quotePos < len(stmt):
-          if stmt[quotePos] != "'":  
-            unmatchedQuote = not unmatchedQuote  
+          if stmt[quotePos] != "'":
+            unmatchedQuote = not unmatchedQuote
           else:
             # ignore 2 single quotes
-            quotePos += 1  
+            quotePos += 1
         quotePos = stmt.find("'", quotePos)
 
       if len(stmt.lstrip()) > 0:
@@ -339,7 +339,7 @@
 
     self.mintBrokersByQmfBroker = dict()
     self.mintBrokersById = dict()
-    self.mintBrokersByUrl = dict() 
+    self.mintBrokersByUrl = dict()
 
     self.__lock = RLock()
 




More information about the rhmessaging-commits mailing list