Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5439 phani.kuma 1
values = []
2
 
3
storage = None
4
unit = ""
5
expFeatures = expSlide.getExpandedFeatures()
6
if expFeatures is not None:
7
    for expFeature in expFeatures:
8
        print expFeature.getFeatureDefinition().getID()
9
        if expFeature.getFeatureDefinition().getID() == 120099:
10
            expBullets = expFeature.getExpandedBullets()
11
            if expBullets is not None:
12
                for expBullet in expBullets:
13
                    storage = int(expBullet.getValue())
14
                    unit = str(expBullet.getUnit().getShortForm())
15
 
16
if storage is not None:
17
    print "Storage is" + `storage` + " " + `unit`
18
 
19
    strStorage = str(storage) + " " + unit
20
    values.append(strStorage)