~launchpad-pqm/mailman/2.1

« back to all changes in this revision

Viewing changes to bin/check_perms

  • Committer: Launchpad Patch Queue Manager
  • Date: 2013-04-05 04:12:35 UTC
  • mfrom: (976.1.1 mailman)
  • Revision ID: launchpad@pqm.canonical.com-20130405041235-9ud0xancja2eefd7
[r=wgrant] Upgrade to mailman 2.1.15.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! @PYTHON@
2
2
#
3
 
# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
 
3
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
4
4
#
5
5
# This program is free software; you can redistribute it and/or
6
6
# modify it under the terms of the GNU General Public License
340
340
        print _('checking permissions on list data')
341
341
    # BAW: This needs to be converted to the Site module abstraction
342
342
    for dir in os.listdir(mm_cfg.LIST_DATA_DIR):
 
343
        if not os.path.isdir(os.path.join(mm_cfg.LIST_DATA_DIR, dir)):
 
344
            continue
343
345
        for file in checkfiles:
344
346
            path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file)
345
347
            if STATE.VERBOSE: