Comment 1 for bug 1293670

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to satori (master)

Reviewed: https://review.openstack.org/82187
Committed: https://git.openstack.org/cgit/stackforge/satori/commit/?id=d649f19680a0dae223de4318e4607e0d3b96807e
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ie30b9a01b39d92d8bfeb7f3a80d333fa4bb30d49
    Closes-Bug: #1295391
    Closes-Bug: #1293670