Subversion Repositories SmartDukaan

Rev

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

#if vars().has_key('expFeature'):
#    print "expFeature=" + `expFeature`
#
#if vars().has_key('feature'):
#    print "feature=" + `feature`

expBullets = expFeature.getExpandedBullets()
expBullet = expBullets[0]
value = expBullet.getValue()
print "value=" + `value` 

#to remove L from the end
if(value.endswith('L')):
    value=value[0:len(value)-2]

newvalue = int(value) * 1000
print "newvalue=" + `newvalue` 
newunitid = "50007"