commit
5838314396
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ class Capability(object):
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
return Capability(*self._caps, alias=self.alias,
|
return Capability(*self._caps, alias=self.alias,
|
||||||
depends_on=self.depends_on)
|
depends_on=self.depends_on[:])
|
||||||
|
|
||||||
def on_ack(self, callback: typing.Callable[[], None]):
|
def on_ack(self, callback: typing.Callable[[], None]):
|
||||||
self._on_ack_callbacks.append(callback)
|
self._on_ack_callbacks.append(callback)
|
||||||
|
|
Loading…
Reference in a new issue