prevent failure for meta: reset_connection
now plugins that don't explicitly support it give a warning.
(cherry picked from commit 9ad62a48ab
)
This commit is contained in:
parent
3db0bbe76c
commit
4f8a2d3806
1 changed files with 3 additions and 0 deletions
|
@ -278,3 +278,6 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
|||
f = self._play_context.connection_lockfd
|
||||
fcntl.lockf(f, fcntl.LOCK_UN)
|
||||
display.vvvv('CONNECTION: pid %d released lock on %d' % (os.getpid(), f), host=self._play_context.remote_addr)
|
||||
|
||||
def reset(self):
|
||||
display.warning("Reset is not implemented for this connection")
|
||||
|
|
Loading…
Add table
Reference in a new issue