Subversion Repositories SmartDukaan

Rev

Rev 2657 | Rev 7752 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2657 Rev 2664
Line 162... Line 162...
162
    print "threeg_talktime_score" + `threeg_talktime_score`
162
    print "threeg_talktime_score" + `threeg_talktime_score`
163
    print "twog_standbytime_score" + `twog_standbytime_score`
163
    print "twog_standbytime_score" + `twog_standbytime_score`
164
    print "threeg_standbytime_score" + `threeg_standbytime_score`
164
    print "threeg_standbytime_score" + `threeg_standbytime_score`
165
 
165
 
166
    if category == "Tablets":
166
    if category == "Tablets":
167
        score = (100*battery_type_score)/100
167
        score = (100*battery_type_score)/100.0
168
    elif usage_time_score != 0:
168
    elif usage_time_score != 0:
169
        score = (40*battery_type_score + 60*usage_time_score)/100
169
        score = (40*battery_type_score + 60*usage_time_score)/100
170
    elif threeg_talktime_score == 0:
170
    elif threeg_talktime_score == 0:
171
        score = (40*battery_type_score + 30*twog_talktime_score + 30*twog_standbytime_score )/100
171
        score = (40*battery_type_score + 30*twog_talktime_score + 30*twog_standbytime_score )/100
172
    else :
172
    else :