diff options
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): |
