add a fixme and print traceback

This commit is contained in:
Nikos Kouremenos 2005-11-06 20:29:08 +00:00
parent cf9d5705b5
commit 6202203856
1 changed files with 3 additions and 2 deletions

View File

@ -623,7 +623,7 @@ class Connection:
if self.files_props.has_key(sid): if self.files_props.has_key(sid):
file_props = self.files_props[sid] file_props = self.files_props[sid]
file_props['fast'] = streamhosts file_props['fast'] = streamhosts
if file_props['type'] == 's': if file_props['type'] == 's': # FIXME: remove fast xmlns
# only psi do this # only psi do this
if file_props.has_key('streamhosts'): if file_props.has_key('streamhosts'):
@ -1534,7 +1534,8 @@ class Connection:
'prio': prio, 'prio': prio,
'weight': weight}) 'weight': weight})
except: except:
gajim.log.debug('An error occurred while looking up %s' % query) gajim.log.debug('An error occurred while looking up %s:' % query)
traceback.print_exc()
# end of SRV resolver # end of SRV resolver
if len(hosts) == 0: # SRV fails or misconfigred on the server if len(hosts) == 0: # SRV fails or misconfigred on the server