I fixed up a few remaining 'apport' prefix changes in the hook, gave it a better name, tested everything and committed: http://codebrowse.launchpad.net/~ubuntu-core-dev/apport/ubuntu/revision/martin.pitt%40ubuntu.com-20070412093504-06tyq5ntm7atqzil?start_revid=martin.pitt%40ubuntu.com-20070412095150-ujnli0m8e1uv2vid
The necessary /etc/python2.5/site.py diff now looks like this:
--- site.py.orig 2007-04-12 11:18:21.000000000 +0200 +++ site.py 2007-04-12 11:18:24.000000000 +0200 @@ -418,11 +418,11 @@ del sys.setdefaultencoding # install the apport exception handler if available try: - from apport import python_hook + import apport_python_hook except ImportError: pass else: - python_hook.install() + apport_python_hook.install()
main()
I fixed up a few remaining 'apport' prefix changes in the hook, gave it a better name, tested everything and committed: codebrowse. launchpad. net/~ubuntu- core-dev/ apport/ ubuntu/ revision/ martin. pitt%40ubuntu. com-20070412093 504-06tyq5ntm7a tqzil?start_ revid=martin. pitt%40ubuntu. com-20070412095 150-ujnli0m8e1u v2vid
http://
The necessary /etc/python2. 5/site. py diff now looks like this:
--- site.py.orig 2007-04-12 11:18:21.000000000 +0200 ncoding hook.install( ) python_ hook.install( )
+++ site.py 2007-04-12 11:18:24.000000000 +0200
@@ -418,11 +418,11 @@
del sys.setdefaulte
# install the apport exception handler if available
try:
- from apport import python_hook
+ import apport_python_hook
except ImportError:
pass
else:
- python_
+ apport_
main()