Subversion Repositories SmartDukaan

Rev

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

Rev 15610 Rev 15611
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 = [4490,4491]
25
ignoreItems = [475,476,477,478,4490,4491,10360,10361]
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)