Subversion Repositories SmartDukaan

Rev

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

Rev 17718 Rev 17721
Line 124... Line 124...
124
                soup = BeautifulSoup(rawHtml)
124
                soup = BeautifulSoup(rawHtml)
125
                if not soup.body:
125
                if not soup.body:
126
                    resp['result'] = 'DETAIL_NOT_CREATED_KNOWN'
126
                    resp['result'] = 'DETAIL_NOT_CREATED_KNOWN'
127
                else:   
127
                else:   
128
                    try:
128
                    try:
129
                        print "soup.prettify()"
-
 
130
                        print soup.prettify()
-
 
131
                        self.parseNewStlye(merchantOrder, soup)
129
                        self.parseNewStlye(merchantOrder, soup)
132
                        resp['result'] = 'DETAIL_CREATED'
130
                        resp['result'] = 'DETAIL_CREATED'
133
                    except:
131
                    except:
134
                        try:
132
                        try:
135
                            traceback.print_exc()
133
                            traceback.print_exc()