Subversion Repositories SmartDukaan

Rev

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

Rev 16097 Rev 16105
Line 166... Line 166...
166
            count = count +1
166
            count = count +1
167
        return productDetailsMap
167
        return productDetailsMap
168
    
168
    
169
    def _getMultiSubOrdersMap(self, orderId, soup, orderObj):
169
    def _getMultiSubOrdersMap(self, orderId, soup, orderObj):
170
        orderTable = soup.body.find("table", {'class':'table product-list'}).findAll('tr', recursive=False)
170
        orderTable = soup.body.find("table", {'class':'table product-list'}).findAll('tr', recursive=False)
171
        #firstRow = orderTable.pop(0)
171
        firstRow = orderTable.pop(0)
172
        #totalColumns = len(firstRow.find_all('td'))
172
        #totalColumns = len(firstRow.find_all('td'))
173
        productDetailsMap = {}
173
        productDetailsMap = {}
174
        '''
174
        '''
175
        jsonSubOrdersMap = {}
175
        jsonSubOrdersMap = {}
176
        for val in orderObj['0']['items'].values():
176
        for val in orderObj['0']['items'].values():