commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src/datasources GConnections.py


From: James Thompson
Subject: gnue/common/src/datasources GConnections.py
Date: Mon, 10 Mar 2003 11:45:24 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 03/03/10 11:45:24

Modified files:
        common/src/datasources: GConnections.py 

Log message:
        connectoin manager cleans up all login dialogs to prevent hang on exit

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/GConnections.py.diff?tr1=1.51&tr2=1.52&r1=text&r2=text

Patches:
Index: gnue/common/src/datasources/GConnections.py
diff -c gnue/common/src/datasources/GConnections.py:1.51 
gnue/common/src/datasources/GConnections.py:1.52
*** gnue/common/src/datasources/GConnections.py:1.51    Tue Feb 18 14:34:58 2003
--- gnue/common/src/datasources/GConnections.py Mon Mar 10 11:45:24 2003
***************
*** 316,325 ****
              # user: Hey! Who are you calling silly?!!!
              attempts = attempts - 1
              errortext = string.replace("%s" % error,'\n','')
  
              if not attempts:
                # Four times is plenty...
!               self._loginHandler.destroyLoginDialog()
                tmsg = _("Unable to log in after 4 attempts.\n\nError: %s") % 
error
                raise GDataObjects.LoginError, tmsg
  
--- 316,326 ----
              # user: Hey! Who are you calling silly?!!!
              attempts = attempts - 1
              errortext = string.replace("%s" % error,'\n','')
+           self._loginHandler.destroyLoginDialog()
  
              if not attempts:
                # Four times is plenty...
!               #self._loginHandler.destroyLoginDialog()
                tmsg = _("Unable to log in after 4 attempts.\n\nError: %s") % 
error
                raise GDataObjects.LoginError, tmsg
  




reply via email to

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