summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/MailList.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index a40efabd7..ca4625cf4 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -113,23 +113,6 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
if func:
func(self)
- # Never pickle our lock object! We need both of these because MailLists
- # get pickled by the archiver and this can cause ArchRunner to unlock
- # lists at the wrong time. The real fix may be to not pickle MailList
- # objects in the archiver, but that's too much work to verify at the
- # moment.
- LOCKATTR = '_MailList__lock'
-
- def __getstate__(self):
- d = self.__dict__.copy()
- del d[self.LOCKATTR]
- return d
-
- def __setstate__(self, d):
- if d.has_key(self.LOCKATTR):
- del d[self.LOCKATTR]
- self.__dict__ = d
-
def __getattr__(self, name):
# Because we're using delegation, we want to be sure that attribute
# access to a delegated member function gets passed to the