def makeRequest(self, method, uri, encoded_params, headers):
        error_connect = (self.server, self.port) % "ERROR: unable to connect to %s:%d"
        try:
            self.conn.request(method, uri, encoded_params, headers)
        except httplib.NotConnected:
            print error_connect
            sys.exit(2)
        except httplib.HTTPException:
            print error_connect
            sys.exit(2)
        except socket.error:
            print error_connect
            sys.exit(2)
        except socket.gaierror:
            print error_connect
            sys.exit(2)
dataset/ETHPy150Open membase/membase-cli/restclient.py/RestClient.makeRequest/swapped operands of `%`