diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2012-06-12 08:19:12 -0700 |
|---|---|---|
| committer | Steve Langasek <steve.langasek@canonical.com> | 2012-06-12 08:19:12 -0700 |
| commit | 3a49e17de7e494eb8e648d5cce62ee56434b0c16 (patch) | |
| tree | 8db68a39bfb23f322024e37896ad7d48ef27fc76 /apt/progress/base.py | |
| parent | 44f568d264dc8714c92eef21c81382027ad5f12f (diff) | |
| download | python-apt-3a49e17de7e494eb8e648d5cce62ee56434b0c16.tar.gz | |
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.
Diffstat (limited to 'apt/progress/base.py')
| -rw-r--r-- | apt/progress/base.py | 4 |
1 files changed, 0 insertions, 4 deletions
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.""" |
