ansible: fix ugly formatting.

This commit is contained in:
David Wilson 2018-04-22 04:04:58 +01:00
parent 376fc85000
commit 21082cec40
1 changed files with 2 additions and 4 deletions

View File

@ -575,8 +575,6 @@ class FileService(mitogen.service.Service):
raise mitogen.core.CallError(self.unregistered_msg)
LOG.debug('Serving %r', path)
self._queue.put((
sender,
open(path, 'rb', mitogen.core.CHUNK_SIZE),
))
fp = open(path, 'rb', mitogen.core.CHUNK_SIZE)
self._queue.put((sender, fp))
return self._size_by_path[path]