Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

values = []

osValue = "Proprietary software" 
expFeature = expSlide.getExpandedFeature(120043)
if(expFeature):
    expBullets = expFeature.getExpandedBullets()
    if expBullets is not None:
        for expBullet in expBullets:
            if(str(expBullet.getValue()).find("Android") > -1):
                osValue = "Android"
            elif(str(expBullet.getValue()).find("BlackBerry") > -1):
                osValue = "BlackBerry"
            elif(str(expBullet.getValue()).find("Brew") > -1):
                osValue = "Brew Mobile Platform"
            elif(str(expBullet.getValue()).find("Maemo") > -1):
                osValue = "Maemo"
            elif(str(expBullet.getValue()).find("Windows") > -1):
                osValue = "Windows Phone"
            elif(str(expBullet.getValue()).find("bada") > -1):
                osValue = "Samsung bada"
            elif(str(expBullet.getValue()).find("Symbian") > -1):
                osValue = "Symbian"
            elif(str(expBullet.getValue()).find("iOS") > -1):
                osValue = "iOS"
values.append(osValue)