summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-01 13:55:04 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-01 13:55:04 +0100
commit1c6b01aa63e440444f00ec9e3f527e1c65a63787 (patch)
treea2725ed4836d90961f887d75dc66b2c217f5542a /apt
parentfb595849bc7149619b3e47b65f145a1f66fc7dbe (diff)
downloadpython-apt-1c6b01aa63e440444f00ec9e3f527e1c65a63787.tar.gz
apt/progress/base.py: fix silly leftover from last commit
Diffstat (limited to 'apt')
-rw-r--r--apt/progress/base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/apt/progress/base.py b/apt/progress/base.py
index c2a9a9c8..4943978c 100644
--- a/apt/progress/base.py
+++ b/apt/progress/base.py
@@ -192,14 +192,12 @@ class InstallProgress(object):
# and the execution continues in the
# parent code leading to very confusing bugs
try:
- raise Exception("foo")
os._exit(obj.do_install(self.write_stream.fileno()))
except AttributeError:
os._exit(os.spawnlp(os.P_WAIT, "dpkg", "dpkg", "--status-fd",
str(self.write_stream.fileno()), "-i",
obj))
except Exception as e:
- os.write(self.writefd, "pmerror:::%s" % e)
sys.stderr.write("%s\n" % e)
os._exit(apt_pkg.PackageManager.RESULT_FAILED)