diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-09-09 09:53:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-09-09 09:53:50 +0000 |
commit | 37aa9ee8b000877b3d7d47eac5e0a17afb78195e (patch) | |
tree | 306c5c1301946618b65cb34fee1937abb788e7c5 /fetchmailconf | |
parent | 0536396f0e2ed3e331f8d03bdc3b6c6013bf57eb (diff) | |
download | fetchmail-37aa9ee8b000877b3d7d47eac5e0a17afb78195e.tar.gz fetchmail-37aa9ee8b000877b3d7d47eac5e0a17afb78195e.tar.bz2 fetchmail-37aa9ee8b000877b3d7d47eac5e0a17afb78195e.zip |
Pre-1.5.2 compatibilty.
svn path=/trunk/; revision=3457
Diffstat (limited to 'fetchmailconf')
-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: |