------------------------------------------------------------
revno: 1216
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Wed 2009-12-30 13:39:08 -0800
message:
Fixed a bug where check_perms would throw an OSError if an entry in
Mailman's lists/ directory was not a directory. Bug #265613.
modified:
NEWS
bin/check_perms
--
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 'NEWS'
--- NEWS 2009-12-30 21:21:25 +0000
+++ NEWS 2009-12-30 21:39:08 +0000
@@ -13,6 +13,9 @@
Bug Fixes and other patches
+ - Fixed a bug where check_perms would throw an OSError if an entry in
+ Mailman's lists/ directory was not a directory. Bug #265613.
+
- Fixed a bug where a message with an Approved: header held by a handler
that precedes Approve (SpamDetect by default) would not have the
Approved: header removed if the held message was approved. Bug #501739.
=== modified file 'bin/check_perms'
--- bin/check_perms 2008-10-17 22:04:39 +0000
+++ bin/check_perms 2009-12-30 21:39:08 +0000
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 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
@@ -340,6 +340,8 @@
print _('checking permissions on list data')
# BAW: This needs to be converted to the Site module abstraction
for dir in os.listdir(mm_cfg.LIST_DATA_DIR):
+ if not os.path.isdir(os.path.join(mm_cfg.LIST_DATA_DIR, dir)):
+ continue
for file in checkfiles:
path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file)
if STATE.VERBOSE:
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org