monitor: update interface definition: get_status() can return a Failure

This commit is contained in:
Brian Warner 2008-11-06 21:54:52 -07:00
parent d7f1f9fd63
commit b7f7b2f43e

View 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