Rev 77 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
import utilsprint "expSlide=" + `expSlide`struct = utils.contentModel2Struct(expSlide)print "struct=" + `struct`score = 0# Types : count <=2 - 4, >2 - 8if struct.has_key("features") :features = struct.get("features")if features.has_key("Types") :types = features.get("Types")print "types=" + `types`if len(types) <= 2 :score += 4if len(types) > 2 :score +=8