From 8572d7a6dff1c3b5e8b27fcfbc36bd13232be598 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 12 Sep 2006 12:28:50 +0200 Subject: * debian/control: - tightend dependency * apt/progress.py: - use os._exit() instead of sys.exit() (lp: 53298) --- apt/progress.py | 9 +++++++-- debian/changelog | 4 ++++ debian/control | 2 +- 3 files changed, 12 insertions(+), 3 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 diff --git a/debian/changelog b/debian/changelog index 89fe3ccf..5f8db68b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,10 @@ python-apt (0.6.20) unstable; urgency=low * python/pkgmanager.cc: - fix typo (closes: #382853) + * debian/control: + - tightend dependency (closes: #383478) + * apt/progress.py: + - use os._exit() in the child (lp: #53298) -- diff --git a/debian/control b/debian/control index 5fa1bc83..e2f97b78 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: APT Development Team Uploaders: Matt Zimmerman , Michael Vogt Standards-Version: 3.6.2.0 XS-Python-Version: all -Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.40), apt-utils, python-all-dev, python-central +Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.45), apt-utils, python-all-dev, python-central Package: python-apt Architecture: any -- cgit v1.2.3