Merge pull request #77 from Jan69/master

closes #76
This commit is contained in:
jesopo 2019-07-01 13:00:56 +01:00 committed by GitHub
commit 5838314396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)