commit d649f19680a0dae223de4318e4607e0d3b96807e
Author: BK Box <email address hidden>
Date: Fri Mar 21 15:24:28 2014 -0500
Add exception `SatoriInvalidDomain`
When `domain_info` is passed an invalid domain, it would attempt to
parse the registered domain and eventually pass a blank string to
`pythonwhois.get_whois`. This causes an exception of "No root WHOIS
server found for TLD." This is a valid exception, but we should not make
it this far to get this exception.
Instead, this patch will raise an exception of `SatoriInvalidDomain` if
domain_info attempted to be used with an invalid domain.
Reviewed: https:/ /review. openstack. org/82187 /git.openstack. org/cgit/ stackforge/ satori/ commit/ ?id=d649f19680a 0dae223de4318e4 607e0d3b96807e
Committed: https:/
Submitter: Jenkins
Branch: master
commit d649f19680a0dae 223de4318e4607e 0d3b96807e
Author: BK Box <email address hidden>
Date: Fri Mar 21 15:24:28 2014 -0500
Add exception `SatoriInvalidD omain`
When `domain_info` is passed an invalid domain, it would attempt to s.get_whois` . This causes an exception of "No root WHOIS
parse the registered domain and eventually pass a blank string to
`pythonwhoi
server found for TLD." This is a valid exception, but we should not make
it this far to get this exception.
Instead, this patch will raise an exception of `SatoriInvalidD omain` if
domain_info attempted to be used with an invalid domain.
Change-Id: Ie30b9a01b39d92 d8bfeb7f3a80d33 3fa4bb30d49
Closes-Bug: #1295391
Closes-Bug: #1293670