~abompard/mailman/moderation_reasons

« back to all changes in this revision

Viewing changes to src/mailman/utilities/filesystem.py

  • Committer: Barry Warsaw
  • Date: 2014-04-14 18:00:23 UTC
  • mfrom: (7226.2.3 abompard)
  • Revision ID: barry@list.org-20140414180023-v26bi1l2xb9v08m2
 * Greatly improve the fidelity of the Mailman 2.1 list importer functionality
   (i.e. ``mailman import21``).  [Aurélien Bompard].

 * Fixed a typo in the IMailingList interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# You should have received a copy of the GNU General Public License along with
16
16
# GNU Mailman.  If not, see <http://www.gnu.org/licenses/>.
17
17
 
18
 
"""Module stuff."""
 
18
"""Filesystem utilities."""
19
19
 
20
20
from __future__ import absolute_import, unicode_literals
21
21
 
50
50
 
51
51
 
52
52
 
53
 
def makedirs(path, mode=02775):
 
53
def makedirs(path, mode=0o2775):
54
54
    """Create a directory hierarchy, ensuring permissions.
55
55
 
56
56
    Other than just calling os.makedirs(), this ensures that the umask is