~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to mailman/database/messagestore.py

  • Committer: Barry Warsaw
  • Date: 2009-01-21 01:54:22 UTC
  • Revision ID: barry@list.org-20090121015422-oko6qfipdm1a7l6x
More cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
from zope.interface import implements
35
35
 
36
 
from mailman import Utils
37
36
from mailman.config import config
38
37
from mailman.database.message import Message
39
38
from mailman.interfaces.messages import IMessageStore
 
39
from mailman.utilities.filesystem import makedirs
 
40
 
40
41
 
41
42
# It could be very bad if you have already stored files and you change this
42
43
# value.  We'd need a script to reshuffle and resplit.
95
96
            except IOError as error:
96
97
                if error.errno <> errno.ENOENT:
97
98
                    raise
98
 
            os.makedirs(os.path.dirname(path))
 
99
            makedirs(os.path.dirname(path))
99
100
        return hash32
100
101
 
101
102
    def _get_message(self, row):