Subversion Repositories SmartDukaan

Rev

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

Rev 16175 Rev 16314
Line 20... Line 20...
20
 
20
 
21
(options, args) = parser.parse_args()
21
(options, args) = parser.parse_args()
22
 
22
 
23
mc = MemCache(options.mongoHost)
23
mc = MemCache(options.mongoHost)
24
 
24
 
25
ignoreItems = []
25
ignoreItems = [4490, 23804, 23364, 477, 476]
26
SOURCE_MAP = {'AMAZON':1,'FLIPKART':2,'SNAPDEAL':3,'SAHOLIC':4, 'SHOPCLUES.COM':5}
26
SOURCE_MAP = {'AMAZON':1,'FLIPKART':2,'SNAPDEAL':3,'SAHOLIC':4, 'SHOPCLUES.COM':5}
27
 
27
 
28
def get_mongo_connection(host=options.mongoHost, port=27017):
28
def get_mongo_connection(host=options.mongoHost, port=27017):
29
    global con
29
    global con
30
    if con is None:
30
    if con is None: