Rev 323 | 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.0if struct.has_key("features") :features = struct.get("features")# Types > MMS : 2, 0if features.has_key("MMS") :score += 10*10# Types > Instant Messaging : 2, 0if features.has_key("Instant Messaging") :score += 40*10# Types > Email : 2, 0if features.has_key("Email") :score += 50*10score = score/100