Subversion Repositories SmartDukaan

Rev

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

values = []

storage = None
expFeatures = expSlide.getExpandedFeatures()
if expFeatures is not None:
    for expFeature in expFeatures:
        print expFeature.getFeatureDefinition().getID()
        if expFeature.getFeatureDefinition().getID() == 120112:
            expBullets = expFeature.getExpandedBullets()
            if expBullets is not None:
                for expBullet in expBullets:
                    storage = int(expBullet.getValue())

if storage is not None:
    print "Storage is " + `ram`
    
    if storage <= 500:
        strStorage = "Upto 500GB"
    else:
        strStorage = "More than 500GB"
    
    values.append(strStorage)