Subversion Repositories SmartDukaan

Rev

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

Rev 12893 Rev 12894
Line 454... Line 454...
454
                    try:
454
                    try:
455
                        billingWarehouse = inv_client.getWarehouse(itemAvailability.billingWarehouseId)
455
                        billingWarehouse = inv_client.getWarehouse(itemAvailability.billingWarehouseId)
456
                    except:
456
                    except:
457
                        pass
457
                        pass
458
                    if billingWarehouse is not None:
458
                    if billingWarehouse is not None:
-
 
459
                        
459
                        if not logistics_client.isAlive() :
460
                        if not logistics_client.isAlive() :
460
                            logistics_client = LogisticsClient().get_client()
461
                            logistics_client = LogisticsClient().get_client()
461
                        try:
462
                        try:
462
                            estimateVal = logistics_client.getFirstDeliveryEstimateForWhLocation(customer_pincode, billingWarehouse.logisticsLocation)
463
                            estimateVal = logistics_client.getFirstDeliveryEstimateForWhLocation(customer_pincode, billingWarehouse.logisticsLocation)
463
                            if estimateVal ==-1:
464
                            if estimateVal ==-1: