diff options
| author | bwarsaw | 2002-10-19 20:59:27 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-19 20:59:27 +0000 |
| commit | 7e2c1e17e7523ae07bf6ccd288cb9b69aaf9da57 (patch) | |
| tree | c80704532c3420f7240dc8d32bc53adbf41147c2 | |
| parent | 52cf3f74d00704b9fc4e71b24eec67f4ddc11698 (diff) | |
| download | mailman-7e2c1e17e7523ae07bf6ccd288cb9b69aaf9da57.tar.gz mailman-7e2c1e17e7523ae07bf6ccd288cb9b69aaf9da57.tar.zst mailman-7e2c1e17e7523ae07bf6ccd288cb9b69aaf9da57.zip | |
| -rw-r--r-- | Mailman/Archiver/HyperArch.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index 29a57f5c5..aeb9a0495 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -508,7 +508,7 @@ class HyperArchive(pipermail.T): IQUOTES = 1 # Italicize quoted text. SHOWBR = 0 # Add <br> onto every line - def __init__(self, maillist, unlock=0): + def __init__(self, maillist): # can't init the database while other processes are writing to it! # XXX TODO- implement native locking # with mailman's LockFile module for HyperDatabase.HyperDatabase @@ -518,7 +518,6 @@ class HyperArchive(pipermail.T): self.__super_init(dir, reload=1, database=db) self.maillist = maillist - self._unlocklist = unlock self._lock_file = None self._charsets = {} self.charset = Utils.GetCharSet(maillist.preferred_language) @@ -755,8 +754,6 @@ class HyperArchive(pipermail.T): except IOError: pass os.rename(name,wname) - if self._unlocklist: - self.maillist.Unlock() archfile = open(wname) self.processUnixMailbox(archfile) archfile.close() @@ -1057,8 +1054,7 @@ class HyperArchive(pipermail.T): pass os.unlink(txtfile) - _skip_attrs = ('maillist', '_lock_file', '_unlocklist', - 'charset') + _skip_attrs = ('maillist', '_lock_file', 'charset') def getstate(self): d={} |
