Changeset 213


Ignore:
Timestamp:
08/15/12 19:32:02 (12 years ago)
Author:
atzm
Message:
  • fixed trivial bug, "connected" log was out even if connection failed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/etherws.py

    r212 r213  
    518518            self._sock.connect(self._url, **self._options) 
    519519            self._ioloop.add_handler(self.fileno(), self, self._ioloop.READ) 
     520            self.dprintf('connected: %s\n', lambda: self._url) 
    520521            return self._switch.register_port(self) 
    521522        finally: 
    522523            websocket._SSLSocketWrapper = sslwrap 
    523             self.dprintf('connected: %s\n', lambda: self._url) 
    524524 
    525525    def close(self): 
Note: See TracChangeset for help on using the changeset viewer.