Subversion Repositories SmartDukaan

Rev

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

Rev 15557 Rev 15558
Line 616... Line 616...
616
 
616
 
617
def parseDetailNotCreated():
617
def parseDetailNotCreated():
618
    try:
618
    try:
619
        store=getStore(1)
619
        store=getStore(1)
620
        orders = session.query(OrdersRaw).filter_by(status='DETAIL_NOT_CREATED_UNKNOWN').all()
620
        orders = session.query(OrdersRaw).filter_by(status='DETAIL_NOT_CREATED_UNKNOWN').all()
-
 
621
        session.close()
621
        for order in orders:
622
        for order in orders:
622
            store.trackOrdersForUser(order.id, order.order_url, order.rawhtml)
623
            store.trackOrdersForUser(order.id, order.order_url, order.rawhtml)
623
        
624
        
624
    finally:
625
    finally:
625
        session.close()
626
        session.close()