Subversion Repositories SmartDukaan

Rev

Rev 4197 | Blame | Compare with Previous | Last modification | View Log | RSS feed

values = []

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

if ram is not None:
    print "RAM is" + `ram`
    
    strRAM = str(ram) + " GB"
    values.append(strRAM)