Subversion Repositories SmartDukaan

Rev

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

Rev 16415 Rev 16422
Line 32... Line 32...
32
            'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',      
32
            'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',      
33
            'Accept-Language' : 'en-US,en;q=0.8',                     
33
            'Accept-Language' : 'en-US,en;q=0.8',                     
34
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
34
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
35
        }
35
        }
36
 
36
 
37
ignoreItems = [24105, 23177]
37
ignoreItems = [24102]
38
 
38
 
39
def get_mongo_connection(port=27017):
39
def get_mongo_connection(port=27017):
40
    global con
40
    global con
41
    if con is None:
41
    if con is None:
42
        print "Establishing connection %s host and port %d" %(host,port)
42
        print "Establishing connection %s host and port %d" %(host,port)