def custom_forward(app, mapper, global_conf=None, **kw):
 warnings.warn('errordocuments.custom_forward has been deprecated; please use errordocuments.StatusBasedForward', DeprecationWarning, 2)
 if (global_conf is None):
  global_conf = {}
 return _StatusBasedRedirect(app, mapper, global_conf, **kw)

def custom_forward ( app , mapper , global_conf = None , ** kw ) : warnings . warn ( 'errordocuments.custom_forward has been deprecated; please use errordocuments.StatusBasedForward' , DeprecationWarning , 2 ) if ( global_conf is None ) : global_conf = { } return _StatusBasedRedirect ( app , mapper , global_conf , ** kw )
deprectated; use statusbasedforward instead .