------------------------------------------------------------
revno: 1384
fixes bug: https://launchpad.net/bugs/1165589
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Sat 2013-04-06 17:57:32 -0700
message:
The Switchboard.finish() method now logs the text of the exception when
it fails to unlink/preserve a .bak file. (LP: 1165589)
modified:
Mailman/Queue/Switchboard.py
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/Switchboard.py'
--- Mailman/Queue/Switchboard.py 2008-11-13 04:02:29 +0000
+++ Mailman/Queue/Switchboard.py 2013-04-07 00:57:32 +0000
@@ -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 @@
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 = {}
=== modified file 'NEWS'
--- NEWS 2013-04-03 22:23:53 +0000
+++ NEWS 2013-04-07 00:57:32 +0000
@@ -58,6 +58,9 @@
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)
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org