checker.checker_results_for: ignore uris of 'None'

This commit is contained in:
Brian Warner 2007-10-26 18:38:37 -07:00
parent 5d48193647
commit 3d0ed4b0a9

View File

@ -253,7 +253,7 @@ class Checker(service.MultiService):
(uri_to_verify,))
def checker_results_for(self, uri_to_check):
if self.results:
if uri_to_check and self.results:
return self.results.get_results_for(IVerifierURI(uri_to_check))
return []