Subversion Repositories SmartDukaan

Rev

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

Rev 20382 Rev 21442
Line 614... Line 614...
614
        info['cash_back_type'] = data['cash_back_type']
614
        info['cash_back_type'] = data['cash_back_type']
615
        info['netPriceAfterCashBack'] = data['netPriceAfterCashBack']
615
        info['netPriceAfterCashBack'] = data['netPriceAfterCashBack']
616
        info['showNetPrice'] = data['showNetPrice']
616
        info['showNetPrice'] = data['showNetPrice']
617
        info['category_id'] = item['category_id']
617
        info['category_id'] = item['category_id']
618
        info['subCategoryId'] = item['subCategoryId']
618
        info['subCategoryId'] = item['subCategoryId']
-
 
619
        info['identifier'] = str(item['identifier'])
619
        get_mongo_connection().Catalog.Deals.update({'_id':item['_id']},{"$set":{'netPriceAfterCashBack':info['netPriceAfterCashBack']}})
620
        get_mongo_connection().Catalog.Deals.update({'_id':item['_id']},{"$set":{'netPriceAfterCashBack':info['netPriceAfterCashBack']}})
620
        temp.append(info)
621
        temp.append(info)
621
    if item is not None:
622
    if item is not None:
622
        try:
623
        try:
623
            thread = threading.Thread(target=recomputeDeal, args = (item,))
624
            thread = threading.Thread(target=recomputeDeal, args = (item,))