From 3a49e17de7e494eb8e648d5cce62ee56434b0c16 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 12 Jun 2012 08:19:12 -0700 Subject: Revert change from lp:~ev/python-apt/dont-leak-fds; as discussed on IRC during the Python3 porting sprint, the cure here is worse than the disease. --- apt/progress/base.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apt/progress/base.py') diff --git a/apt/progress/base.py b/apt/progress/base.py index 88b1ad21..4943978c 100644 --- a/apt/progress/base.py +++ b/apt/progress/base.py @@ -146,10 +146,6 @@ class InstallProgress(object): self.status_stream = os.fdopen(self.statusfd, "r") fcntl.fcntl(self.statusfd, fcntl.F_SETFL, os.O_NONBLOCK) - def __del__(self): - self.write_stream.close() - self.status_stream.close() - def start_update(self): """(Abstract) Start update.""" -- cgit v1.2.3