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/database/messagestore.py | |
| parent | 0c996b693d1cc68d864acc313ba919197717a413 (diff) | |
| download | mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.tar.gz mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.tar.zst mailman-f6cfc823e94fdc67114534ffa4e0e058d6ee81b8.zip | |
Diffstat (limited to 'mailman/database/messagestore.py')
| -rw-r--r-- | mailman/database/messagestore.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mailman/database/messagestore.py b/mailman/database/messagestore.py index d16fc93c4..a129f47ec 100644 --- a/mailman/database/messagestore.py +++ b/mailman/database/messagestore.py @@ -33,10 +33,11 @@ import cPickle as pickle from zope.interface import implements -from mailman import Utils from mailman.config import config from mailman.database.message import Message from mailman.interfaces.messages import IMessageStore +from mailman.utilities.filesystem import makedirs + # It could be very bad if you have already stored files and you change this # value. We'd need a script to reshuffle and resplit. @@ -95,7 +96,7 @@ class MessageStore: except IOError as error: if error.errno <> errno.ENOENT: raise - os.makedirs(os.path.dirname(path)) + makedirs(os.path.dirname(path)) return hash32 def _get_message(self, row): |
