clean up pylint errors in ansible-connection (#21571)

This commit is contained in:
Peter Sprygada 2017-02-17 08:15:27 -05:00 committed by GitHub
parent eaba067de9
commit e77964f9da

View file

@ -273,7 +273,7 @@ def main():
try: try:
server = Server(sf_path, pc) server = Server(sf_path, pc)
except Exception as exc: except Exception as exc:
display.debug(traceback.format_exec(), pc.remote_addr) display.vvv(traceback.format_exc(), pc.remote_addr)
fcntl.lockf(lock_fd, fcntl.LOCK_UN) fcntl.lockf(lock_fd, fcntl.LOCK_UN)
os.close(lock_fd) os.close(lock_fd)
server.run() server.run()