summaryrefslogtreecommitdiff
path: root/apt/debfile.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-31 20:51:57 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-31 20:51:57 +0200
commite556b2cbbe5878c33d9e7302e637cc7f35dd14bf (patch)
treeae42303d29a2d9c0332f5560953ad4f9eb2145ee /apt/debfile.py
parentd3832ab4faf69d8e8e0a0e14b159514505031231 (diff)
downloadpython-apt-e556b2cbbe5878c33d9e7302e637cc7f35dd14bf.tar.gz
apt/progress: Large update, introducing apt.progress.base.InstallProgress.
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes.
Diffstat (limited to 'apt/debfile.py')
-rw-r--r--apt/debfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index e05233f4..fd6c1532 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -417,7 +417,7 @@ class DebPackage(object):
def install(self, install_progress=None):
"""Install the package."""
if install_progress is None:
- return os.system("dpkg -i %s" % self.filename)
+ return os.spawnlp(os.P_WAIT, "dpkg", "dpkg", "-i", self.filename)
else:
try:
install_progress.start_update()