summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIldiko <ildiko.vancsa@ericsson.com>2014-06-06 11:37:39 +0200
committerIldiko <ildiko.vancsa@ericsson.com>2014-06-06 11:37:39 +0200
commit8313866971920f862bd750c3562621074a29fc82 (patch)
treef2817bec510bfd4ff0334e4664b5d1e48074a8dc
parent122ad72fac8a14d5e57fc82d414fad940d4e31b5 (diff)
downloadoslo-utils-8313866971920f862bd750c3562621074a29fc82.tar.gz
Set pbr 'warnerrors' option for doc build
By setting this pbr option in setup.cfg, the doc build will fail in case of any warnings or errors occur during the build process. To be able to turn on this setting, the current formatting errors were fixed. Change-Id: Iec3f70eeb56c4652c2171e5f58c433f1434e6be1
-rw-r--r--openstack/common/network_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstack/common/network_utils.py b/openstack/common/network_utils.py
index 68e6d23..b0f9a02 100644
--- a/openstack/common/network_utils.py
+++ b/openstack/common/network_utils.py
@@ -117,14 +117,13 @@ def set_tcp_keepalive(sock, tcp_keepalive=True,
This function configures tcp keepalive parameters if users wish to do
so.
+
:param tcp_keepalive: Boolean, turn on or off tcp_keepalive. If users are
not sure, this should be True, and default values will be used.
:param tcp_keepidle: time to wait before starting to send keepalive probes
-
:param tcp_keepalive_interval: time between successive probes, once the
initial wait time is over
-
:param tcp_keepalive_count: number of probes to send before the connection
is killed
"""