Subversion Repositories SmartDukaan

Rev

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

Rev 15645 Rev 15653
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 = [475,476,477,478,4490,4491,10360,10361,23589, 22882,22883,22849]
25
ignoreItems = []
26
 
26
 
27
def get_mongo_connection(host=options.mongoHost, port=27017):
27
def get_mongo_connection(host=options.mongoHost, port=27017):
28
    global con
28
    global con
29
    if con is None:
29
    if con is None:
30
        print "Establishing connection %s host and port %d" %(host,port)
30
        print "Establishing connection %s host and port %d" %(host,port)