Subversion Repositories SmartDukaan

Rev

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

Rev 14948 Rev 14959
Line 148... Line 148...
148
            return False
148
            return False
149
 
149
 
150
    def _updateToOrder(self, order):
150
    def _updateToOrder(self, order):
151
        collection = self.db.merchantOrder
151
        collection = self.db.merchantOrder
152
        try:
152
        try:
-
 
153
            print "************************************************************************"
-
 
154
            print "order"
-
 
155
            print order
-
 
156
            print "************************************************************************"
153
            collection.update({"orderId":order['orderId']},{"$set":order}, upsert = True)
157
            collection.update({"orderId":order['orderId']},{"$set":order}, upsert = True)
154
            #merchantOder 
158
            #merchantOder 
155
        except Exception as e:
159
        except Exception as e:
156
            traceback.print_exc()
160
            traceback.print_exc()
157
    
161