Changeset 8894
- Timestamp:
- 10/07/07 22:58:55 (14 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/zeroconf/client_zeroconf.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/zeroconf/client_zeroconf.py
r8458 r8894 213 213 def on_disconnect(self): 214 214 if self.conn_holder: 215 if self.conn_holder.number_of_awaiting_messages.has_key(self. conn_holder.fd):216 if self.conn_holder.number_of_awaiting_messages[self. conn_holder.fd] > 0:215 if self.conn_holder.number_of_awaiting_messages.has_key(self.fd): 216 if self.conn_holder.number_of_awaiting_messages[self.fd] > 0: 217 217 self._caller.dispatch('MSGERROR',[unicode(self.to), -1, \ 218 218 _('Connection to host could not be established'), None, None]) 219 del self.conn_holder.number_of_awaiting_messages[self. conn_holder.fd]219 del self.conn_holder.number_of_awaiting_messages[self.fd] 220 220 self.conn_holder.remove_connection(self.sock_hash) 221 221 if self.__dict__.has_key('Dispatcher'):
