def any_reviewer_required(f):
 @functools.wraps(f)
 def wrapper(request, *args, **kw):
  try:
   return addons_reviewer_required(f)(request, *args, **kw)
  except PermissionDenied:
   return personas_reviewer_required(f)(request, *args, **kw)
 return wrapper

def any_reviewer_required ( f ) : @ functools . wraps ( f ) def wrapper ( request , * args , ** kw ) : try : return addons_reviewer_required ( f ) ( request , * args , ** kw ) except PermissionDenied : return personas_reviewer_required ( f ) ( request , * args , ** kw ) return wrapper
require an addons or personas reviewer .