]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
monitor: update interface definition: get_status() can return a Failure
authorBrian Warner <warner@allmydata.com>
Fri, 7 Nov 2008 04:54:52 +0000 (21:54 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 7 Nov 2008 04:54:52 +0000 (21:54 -0700)
src/allmydata/monitor.py

index c9f89d5ed73a4ae770017c756fe5a57015930289..7524447cf48459f7b3a9779e8d044bc762514d7b 100644 (file)
@@ -44,7 +44,8 @@ class IMonitor(Interface):
         this."""
 
     def get_status(self):
-        """Return the status object."""
+        """Return the status object. If the operation failed, this will be a
+        Failure instance."""
 
     def finish(self, status):
         """Call this when the operation is done, successful or not. The