From cd46961ec2a691ad01a60af6a40314ded4c27e88 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 1 Jan 1999 18:49:10 +0000 Subject: This version is good. svn path=/trunk/; revision=2309 --- fetchmailconf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fetchmailconf') diff --git a/fetchmailconf b/fetchmailconf index aef75a72..090256ea 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -690,6 +690,8 @@ class ConfigurationEdit(Frame, MyWidget): if fm: fm.write("# Configuration created %s by fetchmailconf\n" % time.ctime(time.time())) fm.write(`self.configuration`) + if self.outfile: + fm.close() if fm != sys.stdout: os.chmod(self.outfile, 0600) self.quit() -- cgit v1.2.3