def connect(self): for i in range(self.conf['server']['connections']): conn = asyncnntp.asyncNNTP(self, i, self.conf['server']['hostname'], self.conf['server']['port'], None, self.conf['server']['username'], self.conf['server']['password'], ) conn.do_connect() self._conns.append(conn)
def connect(self): for i in range(self.conf['server']['connections']): conn = asyncnntp.asyncNNTP(self, i, self.conf['server']['hostname'], self.conf['server']['port'], None, self.conf['server']['username'], self.conf['server']['password'], self.ssl) conn.do_connect() self._conns.append(conn)