From: Brian Warner Date: Fri, 7 Nov 2008 04:54:52 +0000 (-0700) Subject: monitor: update interface definition: get_status() can return a Failure X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/webapi.txt?a=commitdiff_plain;h=b7f7b2f43e79a9b3513649aa3f545de120b6bbbf;p=tahoe-lafs%2Ftahoe-lafs.git monitor: update interface definition: get_status() can return a Failure --- diff --git a/src/allmydata/monitor.py b/src/allmydata/monitor.py index c9f89d5e..7524447c 100644 --- a/src/allmydata/monitor.py +++ b/src/allmydata/monitor.py @@ -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