diff options
-rwxr-xr-x | fetchmailconf | 3 |
1 files changed, 2 insertions, 1 deletions
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: |