From 1005f7d174a4911b16b4e65544961df14840513c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 24 Feb 2010 10:41:55 +0000 Subject: [PATCH] lp-shell: Disable default apport excepthook, as this is intended for interactive use. --- debian/changelog | 4 ++++ lp-shell | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 024635f..90acb81 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,10 @@ ubuntu-dev-tools (0.93) UNRELEASED; urgency=low * edit-patch: add wrapper around cdbs-edit-patch, dpatch-edit-patch, quilt to transparently deal with the various patch systems. + [ Colin Watson ] + * lp-shell: Disable default apport excepthook, as this is intended for + interactive use. + -- Michael Bienia Tue, 23 Feb 2010 00:31:19 +0100 ubuntu-dev-tools (0.92) lucid; urgency=low diff --git a/lp-shell b/lp-shell index 37b357d..59c04bb 100755 --- a/lp-shell +++ b/lp-shell @@ -25,3 +25,7 @@ else: instance = EDGE_SERVICE_ROOT lp = Launchpad.login_with('test', instance) + +# Disable default apport hook, as lp-shell is intended for interactive use +# and thus exceptions often bubble up to the top level. +sys.excepthook = sys.__excepthook__