From b7f7b2f43e79a9b3513649aa3f545de120b6bbbf Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 6 Nov 2008 21:54:52 -0700 Subject: [PATCH] monitor: update interface definition: get_status() can return a Failure --- src/allmydata/monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2