Subversion Repositories SmartDukaan

Rev

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

Rev 2051 Rev 2057
Line 27... Line 27...
27
                     
27
                     
28
                elif builtin >= 64*1024*1024 :
28
                elif builtin >= 64*1024*1024 :
29
                    builtin_score = 10.0 
29
                    builtin_score = 10.0 
30
                
30
                
31
                else :
31
                else :
32
                    builtin_score = log(builtin/1024*64, 2)
32
                    builtin_score = log(builtin/(1024*64), 2)
33
                      
33
                      
34
        # REVISIT
34
        # REVISIT
35
        # Expansion Type : microSD-2, others-1
35
        # Expansion Type : microSD-2, others-1
36
        if features.has_key("Expansion type") :
36
        if features.has_key("Expansion type") :
37
            expansion_type = features.get("Expansion type")
37
            expansion_type = features.get("Expansion type")