def wrap_errors(fn):
    def wrapped(*args):
        try:
            fn(*args)
        except Exception, e:
            return faults.Fault(exc.HTTPInternalServerError())
    return wrapped
Version interface for Jython.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/rescue.py/wrap_errors--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/platform.py/java_ver