comparison src/sat.tac @ 274:c1ad04586edf

Bridge: rename connection_error to connectionError for function name consistency
author Goffi <goffi@goffi.org>
date Tue, 25 Jan 2011 15:24:31 +0100
parents c4b84a2d2ad1
children a00e87d48213
comparison
equal deleted inserted replaced
273:3b5e856b3a32 274:c1ad04586edf
106 106
107 self.disco.requestInfo(jid.JID(self.host_app.memory.getParamA("Server", "Connection", profile_key=self.profile))).addCallback(self.host_app.serverDisco) #FIXME: use these informations 107 self.disco.requestInfo(jid.JID(self.host_app.memory.getParamA("Server", "Connection", profile_key=self.profile))).addCallback(self.host_app.serverDisco) #FIXME: use these informations
108 108
109 def initializationFailed(self, reason): 109 def initializationFailed(self, reason):
110 print ("initializationFailed: %s" % reason) 110 print ("initializationFailed: %s" % reason)
111 self.host_app.bridge.connection_error("AUTH_ERROR", self.profile) 111 self.host_app.bridge.connectionError("AUTH_ERROR", self.profile)
112 try: 112 try:
113 client.XMPPClient.initializationFailed(self, reason) 113 client.XMPPClient.initializationFailed(self, reason)
114 except: 114 except:
115 #we already send an error signal, no need to raise an exception 115 #we already send an error signal, no need to raise an exception
116 pass 116 pass