Subversion Repositories SmartDukaan

Rev

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

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