From ffb644f9e110daf8eebce7281c3350e905873695 Mon Sep 17 00:00:00 2001 From: dieter Date: Fri, 13 Oct 2023 10:33:57 +0200 Subject: [PATCH] remove the wrong `__del__` definition for `ZPublisher.HTTPRequest.LimitedFileReader` --- src/ZPublisher/HTTPRequest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ZPublisher/HTTPRequest.py b/src/ZPublisher/HTTPRequest.py index 947a9a88e8..76bcc210a8 100644 --- a/src/ZPublisher/HTTPRequest.py +++ b/src/ZPublisher/HTTPRequest.py @@ -1539,9 +1539,6 @@ def __next__(self): raise StopIteration() return data - def __del__(self): - return self.fp.__del__() - def __getattr__(self, attr): if attr not in self.DELEGATE: raise AttributeError(attr)