Subversion Repositories SmartDukaan

Rev

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

Rev 16347 Rev 16355
Line 19... Line 19...
19
 
19
 
20
(options, args) = parser.parse_args()
20
(options, args) = parser.parse_args()
21
 
21
 
22
mc = MemCache(options.mongoHost)
22
mc = MemCache(options.mongoHost)
23
 
23
 
24
ignoreItems = [24105, 23177,10076]
24
ignoreItems = [24105, 23177]
25
 
25
 
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