Subversion Repositories SmartDukaan

Rev

Rev 4271 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4135 varun.gupt 1
values = []
2
 
3
storage = None
4
expFeatures = expSlide.getExpandedFeatures()
5
if expFeatures is not None:
6
    for expFeature in expFeatures:
7
        print expFeature.getFeatureDefinition().getID()
8
        if expFeature.getFeatureDefinition().getID() == 120112:
9
            expBullets = expFeature.getExpandedBullets()
10
            if expBullets is not None:
11
                for expBullet in expBullets:
12
                    storage = int(expBullet.getValue())
13
 
14
if storage is not None:
15
    print "Storage is " + `ram`
16
 
17
    if storage <= 500:
18
        strStorage = "Upto 500GB"
19
    else:
20
        strStorage = "More than 500GB"
21
 
22
    values.append(strStorage)