mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
monitor: update interface definition: get_status() can return a Failure
This commit is contained in:
parent
d7f1f9fd63
commit
b7f7b2f43e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user