Subversion Repositories SmartDukaan

Rev

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

Rev 7397 Rev 7404
Line 1666... Line 1666...
1666
        else:
1666
        else:
1667
            amazon_item.category=''
1667
            amazon_item.category=''
1668
        if amazonlisted.color:
1668
        if amazonlisted.color:
1669
            amazon_item.color=amazonlisted.color
1669
            amazon_item.color=amazonlisted.color
1670
        else:
1670
        else:
1671
            amazon_item.category=''
1671
            amazon_item.color=''
1672
    elif (amazonItem.asin!=amazonlisted.asin):
1672
    elif (amazonItem.asin!=amazonlisted.asin):
1673
        if amazonlisted.asin:
1673
        if amazonlisted.asin:
1674
            amazonItem.asin=amazonlisted.asin
1674
            amazonItem.asin=amazonlisted.asin
1675
        if amazonlisted.brand:
1675
        if amazonlisted.brand:
1676
            amazonItem.brand=amazonlisted.brand
1676
            amazonItem.brand=amazonlisted.brand
Line 1715... Line 1715...
1715
        else:
1715
        else:
1716
            amazonItem.category=''
1716
            amazonItem.category=''
1717
        if amazonlisted.color:
1717
        if amazonlisted.color:
1718
            amazonItem.color=amazonlisted.color
1718
            amazonItem.color=amazonlisted.color
1719
        else:
1719
        else:
1720
            amazonItem.category=''
1720
            amazonItem.color=''
1721
    else:
1721
    else:
1722
        return
1722
        return
1723
    session.commit()
1723
    session.commit()
1724
    
1724
    
1725
def get_asin_items():
1725
def get_asin_items():