Subversion Repositories SmartDukaan

Rev

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

Rev 16226 Rev 16227
Line 565... Line 565...
565
                                        continue
565
                                        continue
566
                                    self.db.merchantOrder.update({"orderId":order['orderId']},{'$push':{"subOrders":{"$each":todict([subOrder])}}})
566
                                    self.db.merchantOrder.update({"orderId":order['orderId']},{'$push':{"subOrders":{"$each":todict([subOrder])}}})
567
                                    print "Added new suborders to Order id - ", order['orderId']
567
                                    print "Added new suborders to Order id - ", order['orderId']
568
                                    closed = False
568
                                    closed = False
569
                            except:
569
                            except:
-
 
570
                                traceback.print_exc()
570
                                pass
571
                                pass
-
 
572
                            count = count+1
571
                            continue
573
                            continue
572
                        elif subOrder['closed']:
574
                        elif subOrder['closed']:
573
                            count = count+1
575
                            count = count+1
574
                            continue
576
                            continue
575
                        else:
577
                        else: