Subversion Repositories SmartDukaan

Rev

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

Rev 14204 Rev 14214
Line 50... Line 50...
50
        l.append(s_info.__dict__)
50
        l.append(s_info.__dict__)
51
    solr.add(l)
51
    solr.add(l)
52
    
52
    
53
    autoSuggestList = []
53
    autoSuggestList = []
54
    for v in catalogMap.itervalues():
54
    for v in catalogMap.itervalues():
55
        autoSuggestList.append({'val':v})
55
        autoSuggestList.append({'val':v[0]})
56
    PATH = os.path.expanduser(filePath)
56
    PATH = os.path.expanduser(filePath)
57
    if os.path.isfile(PATH):
57
    if os.path.isfile(PATH):
58
        try:
58
        try:
59
            os.remove(os.path.expanduser(filePath))
59
            os.remove(os.path.expanduser(filePath))
60
        except OSError:
60
        except OSError: