def _check_ori(pick_ori):
 if ((pick_ori is not None) and (pick_ori != 'normal')):
  raise RuntimeError(('pick_ori must be None or "normal", not %s' % pick_ori))
 return pick_ori

def _check_ori ( pick_ori ) : if ( ( pick_ori is not None ) and ( pick_ori != 'normal' ) ) : raise RuntimeError ( ( 'pick_ori must be None or "normal", not %s' % pick_ori ) ) return pick_ori
check pick_ori .