Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
347 rajveer 1
values = []
2
expBullets = expFeature.getExpandedBullets()
3
 
4
if expBullets is not None:
5
    for expBullet in expBullets:
6
        resolution = float(expBullet.getValue())
7
 
8
print "Resulution is" + `resolution`
9
 
10
if resolution < 2 :
11
    strRate = "Upto 2 Mpx"    
12
elif resolution < 5 :
13
    strRate = "2 - 5 Mpx"
14
elif resolution < 10 :
15
    strRate = "5 - 10 Mpx"
16
else :
17
    strRate = "Above 10 Mpx"
18
 
19
values = []
20
values.append(strRate)