better debug print

This commit is contained in:
Yann Leboulanger 2005-06-29 15:06:05 +00:00
parent 30352695b2
commit b4c4d2b26b
1 changed files with 3 additions and 3 deletions

View File

@ -666,7 +666,9 @@ class Connection:
self.dispatch('ERROR', (_('Could not connect to "%s"') % self.name,
_('Check your connection or try again later')))
return None, None
gajim.log.debug('Connected to server with %s', con_type)
self.dispatch('CON_TYPE', con_type) # notify the gui about con_type
con.RegisterHandler('message', self._messageCB)
@ -699,8 +701,6 @@ class Connection:
con.RegisterHandler('message', self._StanzaArrivedCB)
con.RegisterEventHandler(self._event_dispatcher)
gajim.log.debug('Connected to server')
try:
#FIXME: blocking
auth = con.auth(name, self.password, resource, 1)