summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhmeland1999-06-02 14:51:53 +0000
committerhmeland1999-06-02 14:51:53 +0000
commit562feff6072b0429b3692c7bb8b884c1ea0b11ec (patch)
tree305371c05734c8652e12c3fda3452117546b94ac
parent0ff91239775d3126e730690f87a05c0353b33684 (diff)
downloadmailman-562feff6072b0429b3692c7bb8b884c1ea0b11ec.tar.gz
mailman-562feff6072b0429b3692c7bb8b884c1ea0b11ec.tar.zst
mailman-562feff6072b0429b3692c7bb8b884c1ea0b11ec.zip
dolist(): Do l.Unlock() before returning, to avoid the list's open
lockfiles eating up all the available filehandles.
-rwxr-xr-xbin/update2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 79f9b4741..0cb9165e9 100755
--- a/bin/update
+++ b/bin/update
@@ -155,6 +155,8 @@ script.
else:
print "- both %s and %s exist, leaving untouched" \
% (o_tmpl, n_tmpl)
+ # Avoid eating filehandles with the list lockfiles
+ l.Unlock()
#
# this function is passed to os.path.walk