1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixes type that prevents socket clean up from being called (#21568)

This commit is contained in:
Peter Sprygada 2017-02-17 07:13:39 -05:00 committed by GitHub
parent b0abbb5f8b
commit eaba067de9

View file

@ -222,7 +222,7 @@ class Server():
# the socket file so it can be recreated # the socket file so it can be recreated
end_time = datetime.datetime.now() end_time = datetime.datetime.now()
delta = end_time - self._start_time delta = end_time - self._start_time
dsplay.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr) display.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr)
try: try:
self.conn.close() self.conn.close()
self.socket.close() self.socket.close()