Subversion Repositories SmartDukaan

Rev

Rev 4042 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4042 Rev 4043
Line 30... Line 30...
30
                        storage_capacity_score = 10.0
30
                        storage_capacity_score = 10.0
31
                    else:
31
                    else:
32
                        storage_capacity_score = 4.0 + (storage_capacity - 250.0) * 6.0 / 390.0
32
                        storage_capacity_score = 4.0 + (storage_capacity - 250.0) * 6.0 / 390.0
33
                    
33
                    
34
                if features.has_key('Hard disk rotational speed'):
34
                if features.has_key('Hard disk rotational speed'):
35
                    rotational_speed = features.get('Hard disk rotational speed')
35
                    rotational_speed = features.get('Hard disk rotational speed')[0]
36
                    rotational_speed_score = 5.0 if int(rotational_speed) <= 5400 else 10.0
36
                    rotational_speed_score = 5.0 if int(rotational_speed) <= 5400 else 10.0
37
        
37
        
38
        if childslides.has_key('Optical drive'):
38
        if childslides.has_key('Optical drive'):
39
            optical_drive_slide = childslides.get('Optical drive')
39
            optical_drive_slide = childslides.get('Optical drive')
40
            
40