so it looks like this is something which cannot be done in python-
defaults itself. site.py has:

+    # install the apport exception handler if available
+    try:
+        import apport_python_hook
+    except ImportError:
+        pass
+    else:
+        apport_python_hook.install()

so apport_python_hook should do the same try/except when trying to
import the python-apt-dbg module.

** Package changed: python-defaults (Ubuntu) => apport (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/264724

Title:
  apport_python_hook breaks under python-dbg unless you have python-apt-
  dbg installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/264724/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to