Fix docsting in Mellanox _detect_hardware

This is followup patch from the review
of this I4e7f7649a1bdeaa3ee99b2748037b0f37fea486c
commit.

Change-Id: I3151daec4ff4ed9c7159a9f3f7f25367586cf3ae
This commit is contained in:
Moshe Levi 2016-12-06 15:31:59 +02:00
parent 73825b28b8
commit 92ced38bfe
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ def _generate_client_id(address):
def _detect_hardware():
"""method for detection of Mellanox NICs
:return True/False
:returns: Boolean value. True if the machine contain one
or more Mellanox NIC(s), False otherwise.
"""
iface_names = os.listdir('/sys/class/net')
for ifname in iface_names: