Subversion Repositories SmartDukaan

Rev

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

Rev 19294 Rev 21773
Line 7... Line 7...
7
    for key, val in sourceMap.iteritems():
7
    for key, val in sourceMap.iteritems():
8
        try:
8
        try:
9
            tprint("Iterating through affiliate for", val)
9
            tprint("Iterating through affiliate for", val)
10
            store = getStore(key)
10
            store = getStore(key)
11
            if store is not None:
11
            if store is not None:
12
                if store.store_id!=4:
12
                if store.store_id!=4 and store.store_id !=2 and store.store_id != 3:
13
                    store.scrapeStoreOrders()
13
                    store.scrapeStoreOrders()
14
        except:
14
        except:
15
            tprint("Error")
15
            tprint("Error")
16
            traceback.print_exc()
16
            traceback.print_exc()
17
if __name__=='__main__':
17
if __name__=='__main__':