Decorator to remove NoSuchEntity exceptions, and raises all others.

def NoSuchEntityOk(f):
  """ Decorator to remove NoSuchEntity exceptions, and raises all others. """
  def ExceptionFilter(*args):
    try:
      return f(*args)
    except boto.exception.BotoServerError as e:
      if e.error_code == 'NoSuchEntity':
        pass
      else:
        raise
    except:  
      raise
    return False
  return ExceptionFilter