From 6ddfb88dff8b3d8e367e4033b1cca43b59b57b76 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Aug 2019 14:52:38 +0100 Subject: [PATCH] No with --- manualapprove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manualapprove.py b/manualapprove.py index 6a4ab1588..a69a85433 100644 --- a/manualapprove.py +++ b/manualapprove.py @@ -73,7 +73,7 @@ def manualApproveFollowRequest(session,baseDir: str, \ if debug: print(handle+' not in '+approveFollowsFilename) return - approvefilenew = with open(approveFollowsFilename+'.new', 'w+') + approvefilenew = open(approveFollowsFilename+'.new', 'w+') with open(approveFollowsFilename, 'r') as approvefile: for handle in approvefile: if handle.startswith(approveHandle):