commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8180 - trunk/gnue-common/src/datasources


From: jamest
Subject: [gnue] r8180 - trunk/gnue-common/src/datasources
Date: Mon, 27 Feb 2006 09:57:16 -0600 (CST)

Author: jamest
Date: 2006-02-27 09:57:16 -0600 (Mon, 27 Feb 2006)
New Revision: 8180

Modified:
   trunk/gnue-common/src/datasources/GConnections.py
   trunk/gnue-common/src/datasources/readgsd.py
Log:
removed obsolete functions I had re-added until I had chance to remove from all 
my code


Modified: trunk/gnue-common/src/datasources/GConnections.py
===================================================================
--- trunk/gnue-common/src/datasources/GConnections.py   2006-02-27 14:54:59 UTC 
(rev 8179)
+++ trunk/gnue-common/src/datasources/GConnections.py   2006-02-27 15:57:16 UTC 
(rev 8180)
@@ -531,36 +531,9 @@
         return self.__authenticatedUsers [connection]
     except (KeyError, IndexError):
       return None
-  # ---------------------------------------------------------------------------
-  # Committ all connections
-  # ---------------------------------------------------------------------------
-  
-  def commitAll (self):
-    """
-    This function commits all transactions for all open connections.
-    """
 
-    warnings.warn('commitAll is deprecated',DeprecationWarning, stacklevel=2)
 
-    for connection in self.__openConnections.values():
-      connection.commit()
-  
-  
   # ---------------------------------------------------------------------------
-  # Rollback all connections
-  # ---------------------------------------------------------------------------
-  
-  def rollbackAll(self):
-    """
-    This function rolls back all transactions for all open connections.
-    """
-    warnings.warn('rollbackAll is deprecated',DeprecationWarning, stacklevel=2)
-  
-    for connection in self.__openConnections.values():
-      connection.rollback()
-
-
-  # ---------------------------------------------------------------------------
   # Close all connections
   # ---------------------------------------------------------------------------
 
@@ -573,7 +546,6 @@
       connection.close ()
 
 
-
   # ---------------------------------------------------------------------------
   # After a connection has been closed, remove all references to it
   # ---------------------------------------------------------------------------

Modified: trunk/gnue-common/src/datasources/readgsd.py
===================================================================
--- trunk/gnue-common/src/datasources/readgsd.py        2006-02-27 14:54:59 UTC 
(rev 8179)
+++ trunk/gnue-common/src/datasources/readgsd.py        2006-02-27 15:57:16 UTC 
(rev 8180)
@@ -243,8 +243,8 @@
     if self.OPTIONS ['password'] is not None:
       password = self.OPTIONS ['password']
 
-    self.connection.parameters ['username'] = username
-    self.connection.parameters ['password'] = password
+    self.connection.parameters ['_username'] = username
+    self.connection.parameters ['_password'] = password
     
 
   # ---------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]