backup.py

changeset 63
1fd6814a29fc
parent 62
b7d13b2ad67e
child 64
6cfe6a89e810
equal deleted inserted replaced
62:b7d13b2ad67e 63:1fd6814a29fc
63 63
64 class Status(Operation): 64 class Status(Operation):
65 def __init__(self, backup, op=None): 65 def __init__(self, backup, op=None):
66 if op: 66 if op:
67 super().__init__(op.operation, op.when_monotonic, 67 super().__init__(op.operation, op.when_monotonic,
68 detail=op.detail) 68 **op.detail)
69 else: 69 else:
70 super().__init__(None, None) 70 super().__init__(None, None)
71 71
72 self.name=backup.name 72 self.name=backup.name
73 self.state=backup.state 73 self.state=backup.state

mercurial