aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/sitecustomize.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python2.7/sitecustomize.py')
-rw-r--r--examples/python2.7/sitecustomize.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/python2.7/sitecustomize.py b/examples/python2.7/sitecustomize.py
new file mode 100644
index 0000000..89c6712
--- /dev/null
+++ b/examples/python2.7/sitecustomize.py
@@ -0,0 +1,7 @@
+# install the apport exception handler if available
+try:
+ import apport_python_hook
+except ImportError:
+ pass
+else:
+ apport_python_hook.install()