From: Brian Warner Date: Sat, 27 Oct 2007 01:38:37 +0000 (-0700) Subject: checker.checker_results_for: ignore uris of 'None' X-Git-Tag: allmydata-tahoe-0.7.0~350 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=3d0ed4b0a91922a78fd523102657123cc1353427;p=tahoe-lafs%2Ftahoe-lafs.git checker.checker_results_for: ignore uris of 'None' --- diff --git a/src/allmydata/checker.py b/src/allmydata/checker.py index 796b6aa7..35133ca5 100644 --- a/src/allmydata/checker.py +++ b/src/allmydata/checker.py @@ -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 []