fixed capabilities
This commit is contained in:
parent
fa1e9cbb58
commit
b6e9713a14
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