new_contents: import sys,logging
  from sqlalchemy import *
  from sqlalchemy import exc
  from ConfigParser import SafeConfigParser
  #import pandas as pd
  from brilws import api
  
  if __name__=='__main__':
      logging.basicConfig(level=logging.INFO,format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
      
      connectstr = sys.argv[1]
      parser = SafeConfigParser()
      parser.read('readdb2.ini')
      passwd = parser.get(connectstr,'pwd')
      idx = connectstr.find('@')
      connecturl = connectstr[:idx]+':'+passwd.decode('base64')+connectstr[idx:]
      engine = create_engine(connecturl)                    
  
      outfilename = 'l1seedmap.csv'
      destdbstr = 'sqlite:///test.db'
      destengine = create_engine(destdbstr)
      l1seedmap = api.L1SeedMap()
      l1seedmapdf = l1seedmap.from_sourcedb(engine)
      l1seedmap.to_brildb(destengine,l1seedmapdf)
      #print l1seedmapdf
      #l1seedmap.to_csv(outfilename,l1seedmapdf)
      
      
  
subject: fix dump hltl1seed map