def create_with_validation (raw_properties): """ Creates new 'PropertySet' instances after checking that all properties are valid and converting incidental properties into gristed form. """ property.validate (raw_properties) return create (property.make (raw_properties))
def create_with_validation(raw_properties): """ Creates new 'PropertySet' instances after checking that all properties are valid and converting incidental properties into gristed form. """ property.validate(raw_properties) return create(property.make(raw_properties))
def create_with_validation (raw_properties): """ Creates new 'PropertySet' instances after checking that all properties are valid and converting implicit properties into gristed form. """ properties = [property.create_from_string(s) for s in raw_properties] property.validate(properties) return create(properties)
def create_with_validation(raw_properties): """ Creates new 'PropertySet' instances after checking that all properties are valid and converting implicit properties into gristed form. """ properties = [property.create_from_string(s) for s in raw_properties] property.validate(properties) return create(properties)
def create_from_user_input(raw_properties, jamfile_module, location): """Creates a property-set from the input given by the user, in the context of 'jamfile-module' at 'location'""" property.validate(raw_properties) specification = property.translate_paths(raw_properties, location) specification = property.translate_indirect(specification, jamfile_module) specification = property.expand_subfeatures_in_conditions(specification) specification = property.make(specification) return create(specification)