Subversion Repositories SmartDukaan

Rev

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

Rev 16975 Rev 16977
Line 682... Line 682...
682
                    orderInfo.user_id = order.user_id
682
                    orderInfo.user_id = order.user_id
683
                    orderInfo.order_id = order.id
683
                    orderInfo.order_id = order.id
684
                    orderInfo.email = all[3].split(":")[1]
684
                    orderInfo.email = all[3].split(":")[1]
685
                    orderInfo.name = all[2].split(":")[1]
685
                    orderInfo.name = all[2].split(":")[1]
686
                    orderInfo.mobile = all[-1].split(":")[1]
686
                    orderInfo.mobile = all[-1].split(":")[1]
-
 
687
                    adSplit = a1.split(",")
-
 
688
                    orderInfo.city = adSplit[-2].strip()
-
 
689
                    orderInfo.pin = adSplit[-1].split(" ")[0]
-
 
690
                    orderInfo.state = adSplit[-1].split(" ")[1]
687
                    session.commit()
691
                    session.commit()
688
                except:
692
                except:
689
                    session.rollback()
693
                    session.rollback()
690
                    continue
694
                    continue
691
        finally:
695
        finally: