Subversion Repositories SmartDukaan

Rev

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

Rev 261 Rev 271
Line 86... Line 86...
86
        phone_urls = hxs.select(NAAPTOL_XPATH1)
86
        phone_urls = hxs.select(NAAPTOL_XPATH1)
87
        
87
        
88
        #elements in chk_list are specific to this site for determining valid sites 
88
        #elements in chk_list are specific to this site for determining valid sites 
89
        #NAAPTOL_CHKLIST1 = ["mobile_phones/pdas_and_smartphones" ,"mobile_phones/gsm_handsets" ,"mobile_phones/cdma_handsets"]
89
        #NAAPTOL_CHKLIST1 = ["mobile_phones/pdas_and_smartphones" ,"mobile_phones/gsm_handsets" ,"mobile_phones/cdma_handsets"]
90
        #list separeated by ';'
90
        #list separeated by ';'
91
        NAAPTOL_CHKLIST1 = get_code_word("NAAPTOL_CHKLIST1")
91
        NAAPTOL_CHKLIST1 = str(get_code_word("NAAPTOL_CHKLIST1"))
-
 
92
        if len(NAAPTOL_CHKLIST1)>0:
92
        NAAPTOL_CHKLIST1 = NAAPTOL_CHKLIST1.split(';')
93
            NAAPTOL_CHKLIST1 = NAAPTOL_CHKLIST1.split(';')
93
        for i in phone_urls:
94
        for i in phone_urls:
94
            site = i.extract()
95
            site = i.extract()
95
            site = unescape(site)
96
            site = unescape(site)
96
            pos1 = pos2 = pos3 = 0
97
            pos1 = pos2 = pos3 = 0
97
            temp =""
98
            temp =""