Subversion Repositories SmartDukaan

Rev

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

Rev 16112 Rev 16120
Line 378... Line 378...
378
            return resp
378
            return resp
379
        except:
379
        except:
380
            print "Error occurred"
380
            print "Error occurred"
381
            traceback.print_exc()
381
            traceback.print_exc()
382
            resp['result'] = 'ORDER_NOT_CREATED'
382
            resp['result'] = 'ORDER_NOT_CREATED'
-
 
383
            return resp
383
    
384
    
384
    def parseSingleSubOrder(self, soup, emailId, subOrderId):
385
    def parseSingleSubOrder(self, soup, emailId, subOrderId):
385
        orderStatusList = soup.findAll(attrs={'class' : 'price ord_status'})
386
        orderStatusList = soup.findAll(attrs={'class' : 'price ord_status'})
386
        subOrderStatus = orderStatusList[0].contents[0].strip()
387
        subOrderStatus = orderStatusList[0].contents[0].strip()
387
        orderDateList = soup.findAll(attrs={'class':'price ord_date'})
388
        orderDateList = soup.findAll(attrs={'class':'price ord_date'})