diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-05-17 17:28:36 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-05-30 20:14:32 +0200 |
commit | 70794c7b1d001ce331d4a64c77d23abcc02c541e (patch) | |
tree | 457edeb05408201a251a165a3c871c7eeb42ccf0 /ipatests/test_xmlrpc/test_ping_plugin.py | |
parent | dc405005f537cf278fd6ddfe6b87060bd13d9a67 (diff) | |
download | freeipa-70794c7b1d001ce331d4a64c77d23abcc02c541e.tar.gz freeipa-70794c7b1d001ce331d4a64c77d23abcc02c541e.tar.xz freeipa-70794c7b1d001ce331d4a64c77d23abcc02c541e.zip |
Turn verify_host_resolvable() into a wrapper around ipapython.dnsutil
The code was duplicate and less generic anyway.
As a side-effect I had to re-wrap dns.exception.DNSException into a
PublicError so it can be displayed to the user.
DNSError is now a super class for other DNS-related errors. Errors from
DNS resolver are re-raised as DNSResolverError.
https://fedorahosted.org/freeipa/ticket/5710
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_ping_plugin.py')
0 files changed, 0 insertions, 0 deletions