]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
checker.checker_results_for: ignore uris of 'None'
authorBrian Warner <warner@allmydata.com>
Sat, 27 Oct 2007 01:38:37 +0000 (18:38 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 27 Oct 2007 01:38:37 +0000 (18:38 -0700)
src/allmydata/checker.py

index 796b6aa721b590cf24852a6ecc4ac136afcc4bb0..35133ca5180076a7557f19875d23332a4e26585f 100644 (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 []