irc.py
def connect(self):
        """\
        Connect to the IRC server using the nickname
        """
        self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        if self.use_ssl:
            self._sock = ssl.wrap_socket(self._sock)
        try:
            self._sock.connect((self.server, self.port))
        except socket.error:
            self.logger.error('Unable to connect to %s on port %d' % (self.server, self.port), exc_info=1)
            return False

        self._sock_file = self._sock.makefile()
        if self.password:
            self.set_password()
        self.register_nick()
        self.register()
        return True
def connect(self):
        self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        if self.use_ssl:
            self._sock = ssl.wrap_socket(self._sock)
        try:
            self._sock.connect((self.server, self.port))
        except socket.error:
            self.logger.error('Unable to connect to %s on port %d' % (self.server, self.port), exc_info=1)
            return False

        self._sock_file = self._sock.makefile()
        if self.password:
            self.set_password()
        self.register_nick()
        self.register()
        return True
def connect ( self ) : self . _sock = socket . socket ( socket . AF_INET , socket . SOCK_STREAM ) if self . use_ssl : self . _sock = ssl . wrap_socket ( self . _sock ) try : self . _sock . connect ( ( self . server , self . port ) ) except socket . error : self . logger . error ( 'Unable to connect to %s on port %d' % ( self . server , self . port ) , exc_info = 1 ) return False self . _sock_file = self . _sock . makefile ( ) if self . password : self . set_password ( ) self . register_nick ( ) self . register ( ) return True
\
        Connect to the IRC server using the nickname
\ Connect to the IRC server using the nickname