Subversion Repositories SmartDukaan

Rev

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

Rev 17697 Rev 17698
Line 135... Line 135...
135
                    iclient.addVendorItemPricing(vip)
135
                    iclient.addVendorItemPricing(vip)
136
                    break
136
                    break
137
                except Exception as e:
137
                except Exception as e:
138
                    iclient = InventoryClient().get_client()
138
                    iclient = InventoryClient().get_client()
139
                    
139
                    
140
        except Exception as e:
140
        except:
-
 
141
            traceback.print_exc()
141
            message = message + "\t" + str(brand) + "\t" + str(model_name) + "\t" + str(model_number) + "\t" + str(e.message) + "\n"
142
            message = message + "\t" + str(brand) + "\t" + str(model_name) + "\t" + str(model_number) + "\t" + "\n"
142
    print message
143
    print message
143
    mail("build@shop2020.in", "cafe@nes", ["amit.gupta@shop2020.in", "chandan.kumar@shop2020.in"], "Problem while adding items", message, [], [], [])    
144
    mail("build@shop2020.in", "cafe@nes", ["amit.gupta@shop2020.in", "chandan.kumar@shop2020.in"], "Problem while adding items", message, [], [], [])    
144
    print "Successfully updated the item list information."
145
    print "Successfully updated the item list information."
145
 
146
 
146
 
147