Manish Gill has proposed merging lp:~mgill25/mailman/branch2 into lp:mailman.

Requested reviews:
  Mailman Coders (mailman-coders)
Related bugs:
  Bug #1165589 in GNU Mailman: "Switchboard fails to log the error message with 
some exceptions."
  https://bugs.launchpad.net/mailman/+bug/1165589

For more details, see:
https://code.launchpad.net/~mgill25/mailman/branch2/+merge/158359

Bug #1165589 fix
-- 
https://code.launchpad.net/~mgill25/mailman/branch2/+merge/158359
Your team Mailman Coders is requested to review the proposed merge of 
lp:~mgill25/mailman/branch2 into lp:mailman.
=== modified file 'src/mailman/core/switchboard.py'
--- src/mailman/core/switchboard.py	2013-01-20 21:23:09 +0000
+++ src/mailman/core/switchboard.py	2013-04-11 12:56:26 +0000
@@ -183,9 +183,10 @@
                 os.rename(bakfile, psvfile)
             else:
                 os.unlink(bakfile)
-        except EnvironmentError:
+        except EnvironmentError as error:
             elog.exception(
-                'Failed to unlink/preserve backup file: %s', bakfile)
+                'Unlink/Preserve backup file exception: %s\n'
+                'Failed to unlink/preserve backup file: %s', error, bakfile)
 
     @property
     def files(self):

_______________________________________________
Mailman-coders mailing list
Mailman-coders@python.org
http://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to