Subversion Repositories SmartDukaan

Rev

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

values = []
expBullets = expFeature.getExpandedBullets()

if expBullets is not None:
    for expBullet in expBullets:
        resolution = float(expBullet.getValue())

print "Resulution is" + `resolution`

if resolution < 2 :
    strRate = "Upto 2 Mpx"    
elif resolution < 5 :
    strRate = "2 - 5 Mpx"
elif resolution < 10 :
    strRate = "5 - 10 Mpx"
else :
    strRate = "Above 10 Mpx"
    
values = []
values.append(strRate)