The vast majority of users won't ever need this.
Signed-off-by: Zack Cerza <zack@redhat.com>
# Use manhole to give us a way to debug hung processes
# https://pypi.python.org/pypi/manhole
-import manhole
-manhole.install(
- verbose=False,
- # Listen for SIGUSR1
- oneshot_on="USR1"
-)
+try:
+ import manhole
+ manhole.install(
+ verbose=False,
+ # Listen for SIGUSR1
+ oneshot_on="USR1"
+ )
+except ImportError:
+ pass
from gevent import monkey
monkey.patch_all(
dns=False,