blob: 8970e530a4eee67cd5eb3fe5ba8e4848754845c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# ABRT crash hook
#
# This special script is placed in
# /usr/local/lib/pythonNNN/site-packages/sitecustomize.py
# and python interpreter runs it automatically everytime
# some python script is executed.
try:
from abrt_exception_handler import installExceptionHandler
installExceptionHandler()
except Exception, e:
# TODO: log errors?
# OTOH, if abrt is deinstalled uncleanly
# and this file (sitecustomize.py) exists but
# abrt_exception_handler module does not exist, we probably
# don't want to irritate admins...
pass
|