Author: johannes
Date: 2006-02-21 02:19:38 -0600 (Tue, 21 Feb 2006)
New Revision: 8169

Modified:
   trunk/gnue-appserver/src/geasSession.py
Log:
Check if the connection is still available before calling close ()


Modified: trunk/gnue-appserver/src/geasSession.py
===================================================================
--- trunk/gnue-appserver/src/geasSession.py     2006-02-20 21:37:41 UTC (rev 
8168)
+++ trunk/gnue-appserver/src/geasSession.py     2006-02-21 08:19:38 UTC (rev 
8169)
@@ -267,7 +267,9 @@
     self.filters          = {}
 
     # FIXME: should the authAdapter be contacted?
-    self.__connection.close ()
+    if self.__connection:
+      self.__connection.close ()
+
     self.loggedIn = 0
 
     self.__connection     = None



_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to