def _AddConditionalProperty(properties, condition, name, value):
 if (name not in properties):
  properties[name] = {}
 values = properties[name]
 if (value not in values):
  values[value] = []
 conditions = values[value]
 conditions.append(condition)

def _AddConditionalProperty ( properties , condition , name , value ) : if ( name not in properties ) : properties [ name ] = { } values = properties [ name ] if ( value not in values ) : values [ value ] = [ ] conditions = values [ value ] conditions . append ( condition )
adds a property / conditional value pair to a dictionary .