Subversion Repositories SmartDukaan

Rev

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

Rev 12567 Rev 12620
Line 75... Line 75...
75
    get_private_deals_count, get_amazon_out_of_sync, \
75
    get_private_deals_count, get_amazon_out_of_sync, \
76
    get_all_private_deals_comparison, get_all_snapdeal_marketplaceItem, \
76
    get_all_private_deals_comparison, get_all_snapdeal_marketplaceItem, \
77
    get_all_flipkart_marketplaceItem, add_competitor_scraping, \
77
    get_all_flipkart_marketplaceItem, add_competitor_scraping, \
78
    get_previous_competitor_scraping, get_upload_result_by_id, add_amazon_promotion, \
78
    get_previous_competitor_scraping, get_upload_result_by_id, add_amazon_promotion, \
79
    get_amazon_promotion, update_amazon_promotion, get_vat_rates, \
79
    get_amazon_promotion, update_amazon_promotion, get_vat_rates, \
80
    update_item_state_vat, mark_partially_active
80
    update_item_state_vat, mark_partially_active, get_ex_affiliate_item_info
81
from shop2020.thriftpy.model.v1.catalog.ttypes import status
81
from shop2020.thriftpy.model.v1.catalog.ttypes import status
82
from shop2020.utils.Utils import log_entry, to_py_date
82
from shop2020.utils.Utils import log_entry, to_py_date
83
import datetime
83
import datetime
84
 
84
 
85
class CatalogServiceHandler:
85
class CatalogServiceHandler:
Line 1670... Line 1670...
1670
        try:
1670
        try:
1671
            mark_partially_active(itemId, categoryId)
1671
            mark_partially_active(itemId, categoryId)
1672
        finally:
1672
        finally:
1673
            close_session()
1673
            close_session()
1674
            return False
1674
            return False
1675
            
1675
        
-
 
1676
    def getExAffiliateItemInfo(self, ):
-
 
1677
         return get_ex_affiliate_item_info()
1676
    
1678
    
1677
if __name__ == '__main__':
1679
if __name__ == '__main__':
1678
    items = get_all_alive_items()
1680
    items = get_all_alive_items()
1679
    ret_items = []
1681
    ret_items = []
1680
    for item in items:
1682
    for item in items: