diff options
| author | Barry Warsaw | 2009-01-20 20:54:22 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-20 20:54:22 -0500 |
| commit | f6cfc823e94fdc67114534ffa4e0e058d6ee81b8 (patch) | |
| tree | dae9158dfd05fd92b18d576f57b78e906196a42b /mailman/bin/update.py | |
| parent | 0c996b693d1cc68d864acc313ba919197717a413 (diff) | |
| download | mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.tar.gz mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.tar.zst mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.zip | |
Diffstat (limited to 'mailman/bin/update.py')
| -rw-r--r-- | mailman/bin/update.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mailman/bin/update.py b/mailman/bin/update.py index d26548aa0..34ea6cda3 100644 --- a/mailman/bin/update.py +++ b/mailman/bin/update.py @@ -39,6 +39,7 @@ from mailman.Queue.Switchboard import Switchboard from mailman.configuration import config from mailman.i18n import _ from mailman.initialize import initialize +from mailman.utilities.filesystem import makedirs FRESH = 0 @@ -251,7 +252,7 @@ def dolist(listname): o_html_dir = makeabs('public_html/archives/%s' % (listname)) # Make the mbox directory if it's not there. if not os.path.exists(mbox_dir): - Utils.makedirs(mbox_dir) + makedirs(mbox_dir) else: # This shouldn't happen, but hey, just in case if not os.path.isdir(mbox_dir): @@ -259,7 +260,7 @@ def dolist(listname): For some reason, $mbox_dir exists as a file. This won't work with b6, so I'm renaming it to ${mbox_dir}.tmp and proceeding.""") os.rename(mbox_dir, "%s.tmp" % (mbox_dir)) - Utils.makedirs(mbox_dir) + makedirs(mbox_dir) # Move any existing mboxes around, but watch out for both a public and a # private one existing if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file): |
