Subversion Repositories SmartDukaan

Rev

Rev 6884 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6884 amit.gupta 1
values = []
2
 
6896 amit.gupta 3
osValue = "Proprietary OS" 
6884 amit.gupta 4
expFeature = expSlide.getExpandedFeature(120043)
5
if(expFeature):
6
    expBullets = expFeature.getExpandedBullets()
7
    if expBullets is not None:
8
        for expBullet in expBullets:
9
            if(str(expBullet.getValue()).find("Android") > -1):
10
                osValue = "Android"
11
            elif(str(expBullet.getValue()).find("BlackBerry") > -1):
6896 amit.gupta 12
                osValue = "BlackBerry OS"
6884 amit.gupta 13
            elif(str(expBullet.getValue()).find("Brew") > -1):
14
                osValue = "Brew Mobile Platform"
15
            elif(str(expBullet.getValue()).find("Maemo") > -1):
16
                osValue = "Maemo"
17
            elif(str(expBullet.getValue()).find("Windows") > -1):
18
                osValue = "Windows Phone"
19
            elif(str(expBullet.getValue()).find("bada") > -1):
20
                osValue = "Samsung bada"
21
            elif(str(expBullet.getValue()).find("Symbian") > -1):
22
                osValue = "Symbian"
23
            elif(str(expBullet.getValue()).find("iOS") > -1):
24
                osValue = "iOS"
25
values.append(osValue)