Subversion Repositories SmartDukaan

Rev

Rev 263 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 263 Rev 273
Line 82... Line 82...
82
        Removelist = To filer the prices so as to make them integer for eg remove ',' or 'Rs'
82
        Removelist = To filer the prices so as to make them integer for eg remove ',' or 'Rs'
83
        """
83
        """
84
        da = DataHelper()
84
        da = DataHelper()
85
        #NAAPTOL_REMOVELIST = ["Rs.",","]
85
        #NAAPTOL_REMOVELIST = ["Rs.",","]
86
        #list separated by ';'
86
        #list separated by ';'
87
        NAAPTOL_REMOVELIST = get_code_word("NAAPTOL_REMOVELIST")
87
        NAAPTOL_REMOVELIST = str(get_code_word("NAAPTOL_REMOVELIST"))
-
 
88
        if len(NAAPTOL_REMOVELIST)>0:
88
        NAAPTOL_REMOVELIST = NAAPTOL_REMOVELIST.split(';')
89
            NAAPTOL_REMOVELIST = NAAPTOL_REMOVELIST.split(';')
89
        #retreiving name from the the url
90
        #retreiving name from the the url
90
        name = str(response.url)
91
        name = str(response.url)
91
        name = unescape(name)
92
        name = unescape(name)
92
        name_pos = name.rfind("/")
93
        name_pos = name.rfind("/")
93
        name = name[name_pos+1:len(name)-5]
94
        name = name[name_pos+1:len(name)-5]