Rev 2657 | Blame | Compare with Previous | Last modification | View Log | RSS feed
import utilsprint "expSlide=" + `expSlide`struct = utils.contentModel2Struct(expSlide, categoryObj)print "struct=" + `struct`score = 0if struct.has_key("features") :features = struct.get("features")# MMS : 1, 0if features.has_key("MMS") :score += 1# SMS : 2, 0if features.has_key("SMS") :score += 2# Instant Messaging : 3, 0if features.has_key("Instant messaging") :score += 3# Email : 4, 0if features.has_key("Email") :score += 4