fixed capabilities

This commit is contained in:
jan6 2019-07-01 14:41:47 +03:00
parent fa1e9cbb58
commit b6e9713a14

View file

@ -306,7 +306,7 @@ class Capability(object):
def copy(self):
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]):
self._on_ack_callbacks.append(callback)