From 812af5553da6025d3194cef1b0b1ae466ee7e412 Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Fri, 1 Apr 2022 01:12:19 +0000 Subject: [PATCH] Fix syntax error in Qubes connection plugin. --- connection_plugins/qubes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connection_plugins/qubes.py b/connection_plugins/qubes.py index f56f5d4..9c1432f 100644 --- a/connection_plugins/qubes.py +++ b/connection_plugins/qubes.py @@ -183,7 +183,8 @@ def fetch(in_path, bufsize): break sys.stdout.write(data) sys.stdout.flush() - f.close() + finally: + f.close() if __name__ == '__main__':