X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FNetconf.py;h=caca14ed1a6b098a5e528ab8fd3d212ef0c14186;hp=303361034ea4d913d1b2ca7ff6fe716fd30e7648;hb=8bac97fb07e863573f5a2914058e1d23229d279b;hpb=12b5c1d2de914e8aabb62587028e4e92fd298173 diff --git a/resources/libraries/python/honeycomb/Netconf.py b/resources/libraries/python/honeycomb/Netconf.py index 303361034e..caca14ed1a 100644 --- a/resources/libraries/python/honeycomb/Netconf.py +++ b/resources/libraries/python/honeycomb/Netconf.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2019 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -126,14 +126,12 @@ class Netconf(object): logger.trace(reply) return reply.replace(self.delimiter, "") - def get_all_responses(self, size=4096, time_out=3): + def get_all_responses(self, size=4096): """Read responses from the receive buffer and catenate together until a read operation times out. :param size: Maximum number of bytes to read in one iteration. - :param time_out: Timeout value for getting the complete response. :type size: int - :type time_out: int :returns: Content of response. :rtype: str """