diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-12 12:28:50 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-12 12:28:50 +0200 |
| commit | 8572d7a6dff1c3b5e8b27fcfbc36bd13232be598 (patch) | |
| tree | 09d7faf261bbfaaa354a1875ab5381dd24cc3db1 /apt/progress.py | |
| parent | d65882227dd3201c03c87922391d1ad8d21ee84e (diff) | |
| download | python-apt-8572d7a6dff1c3b5e8b27fcfbc36bd13232be598.tar.gz | |
* debian/control:
- tightend dependency
* apt/progress.py:
- use os._exit() instead of sys.exit() (lp: 53298)
Diffstat (limited to 'apt/progress.py')
| -rw-r--r-- | apt/progress.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apt/progress.py b/apt/progress.py index 4119067c..d69ca6e6 100644 --- a/apt/progress.py +++ b/apt/progress.py @@ -19,7 +19,12 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA -import sys, apt_pkg, os, fcntl, string, re +import sys +import os +import re +import fcntl +import string +import apt_pkg class OpProgress(object): """ Abstract class to implement reporting on cache opening @@ -199,7 +204,7 @@ class InstallProgress(DumbInstallProgress): if pid == 0: # child res = pm.DoInstall(self.writefd) - sys.exit(res) + os._exit(res) self.child_pid = pid res = self.waitChild() return res |
