try:
    # this import not used except as a test for Zope 2.12+
    from Products.Five.bbb import AcquisitionBBB
    AcquisitionBBB      # make pyflakes happy
    HAS_ZOPE_212 = True
except ImportError:
    HAS_ZOPE_212 = False


def initialize(context):

    # side effect import to patch the response's retry method
    import monkey

    # Install the wrapper around zpublisher_exception_hook.
    monkey.installExceptionHook()

    # Install the status code for linkintegritynotificationexception
    monkey.installStatusCode()
