提交 884cc37a 编写于 作者: R Roger A. Light

Give hint about dns library needed.

Change-Id: I765e3d6da803563cfa62a7c3cf727e34d133ab9f
上级 484c04e8
......@@ -679,7 +679,7 @@ class Client(object):
"""
if HAVE_DNS is False:
raise ValueError('No DNS resolver library found.')
raise ValueError('No DNS resolver library found, try "pip install dnspython" or "pip3 install dnspython3".')
if domain is None:
domain = socket.getfqdn()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册