Subversion Repositories SmartDukaan

Rev

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

Rev 15068 Rev 15898
Line 9... Line 9...
9
 
9
 
10
filePath = '/tmp/autosuggest.json'
10
filePath = '/tmp/autosuggest.json'
11
destFilePath = '/home/kshitij/'
11
destFilePath = '/home/kshitij/'
12
 
12
 
13
categoryMap = {3:'Mobiles',5:'Tablets'}
13
categoryMap = {3:'Mobiles',5:'Tablets'}
14
SOURCE_MAP = {'AMAZON':1,'FLIPKART':2,'SNAPDEAL':3,'SAHOLIC':4}
14
SOURCE_MAP = {'AMAZON':1,'FLIPKART':2,'SNAPDEAL':3,'SAHOLIC':4,'SHOPCLUES.COM':5}
15
xstr = lambda s: s or ""
15
xstr = lambda s: s or ""
16
 
16
 
17
parser = optparse.OptionParser()
17
parser = optparse.OptionParser()
18
parser.add_option("-m", "--m", dest="mongoHost",
18
parser.add_option("-m", "--m", dest="mongoHost",
19
                      default="localhost",
19
                      default="localhost",