aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2013-04-06 17:57:32 -0700
committerMark Sapiro <msapiro@value.net>2013-04-06 17:57:32 -0700
commit5c108a6559c6a39beaed2600871b02d0a54edd25 (patch)
treecbb50b53cb758603e798d53d19a584f90a4e324a
parent9cdad15508bbc5a77e36edfd707dcc8c2140a340 (diff)
downloadmailman2-5c108a6559c6a39beaed2600871b02d0a54edd25.tar.gz
mailman2-5c108a6559c6a39beaed2600871b02d0a54edd25.tar.xz
mailman2-5c108a6559c6a39beaed2600871b02d0a54edd25.zip
The Switchboard.finish() method now logs the text of the exception when
it fails to unlink/preserve a .bak file. (LP: 1165589)
Diffstat (limited to '')
-rw-r--r--Mailman/Queue/Switchboard.py6
-rwxr-xr-xNEWS3
2 files changed, 6 insertions, 3 deletions
diff --git a/Mailman/Queue/Switchboard.py b/Mailman/Queue/Switchboard.py
index bd1cd357..a2c31263 100644
--- a/Mailman/Queue/Switchboard.py
+++ b/Mailman/Queue/Switchboard.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -184,8 +184,8 @@ class Switchboard:
else:
os.unlink(bakfile)
except EnvironmentError, e:
- syslog('error', 'Failed to unlink/preserve backup file: %s',
- bakfile)
+ syslog('error', 'Failed to unlink/preserve backup file: %s\n%s',
+ bakfile, e)
def files(self, extension='.pck'):
times = {}
diff --git a/NEWS b/NEWS
index c71be5b8..da3f3b3e 100755
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,9 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - The Switchboard.finish() method now logs the text of the exception when
+ it fails to unlink/preserve a .bak file. (LP: 1165589)
+
- The pending (un)subscriptions waiting approval are now sorted by email
address in the admindb interface as intended. (LP: 1164160)