Subversion Repositories SmartDukaan

Rev

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

Rev 15642 Rev 15644
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 = [475,476,477,478,4490,4491,10360,10361,23589, 22882,22883]
34
ignoreItems = [475,476,477,478,4490,4491,10360,10361,23589, 22882,22883, 22849]
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)