From 37aa9ee8b000877b3d7d47eac5e0a17afb78195e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 9 Sep 2001 09:53:50 +0000 Subject: Pre-1.5.2 compatibilty. svn path=/trunk/; revision=3457 --- fetchmailconf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fetchmailconf') diff --git a/fetchmailconf b/fetchmailconf index b90f1d7d..648ad779 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -839,7 +839,8 @@ class ConfigurationEdit(Frame, MyWidget): default = 1).num == 0: try: os.rename(self.outfile, self.outfile + "~") - except OSError: + # Pre-1.5.2 compatibility... + except os.error: pass fm = open(self.outfile, 'w') if fm: -- cgit v1.2.3