def getrequest(self, scheme='http'):
        if self.port and (( scheme == 'http' and self.port != 80 ) or ( scheme == 'https' and self.port != 443 )):
            host = (self.host, self.port) % "%s:%d"
        else:
            host = self.host
        url = urlparse.urlunsplit((scheme, host, self.path, '', ''))
        headers = tornado.httputil.HTTPHeaders()
        for (k,v) in self.headers:
            headers.add(k, v)
        request = tornado.httpclient.HTTPRequest(
            url, method=self.method, headers=headers, body=self.body,
            connect_timeout=self.timeout, request_timeout=self.timeout,
            validate_cert=False, # FIXME: disable validation since we could not validate S3 certs
        )
        return request
dataset/ETHPy150Open yyuu/botornado/botornado/connection.py/AsyncHTTPConnection.getrequest/swapped operands of `%`