Subversion Repositories SmartDukaan

Rev

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

values = []

childExpSlides = expSlide.getExpandedChildrenSlides()
if(childExpSlides):
    for childExpSlide in childExpSlides :
        if childExpSlide.getSlideDefinitionID() == 130179:
           expFeature = childExpSlide.getExpandedFeature(120462)
           if expFeature:
               expBullets = expFeature.getExpandedBullets()
               if expBullets is not None:
                   for expBullet in expBullets:
                       resolution = float(expBullet.getValue())
                       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.append(strRate)
                       break
           break