- sys.exit(0)
-
- # TODO: To remove eventually in next major realese v0.18
- # Create Database
- db_file = config.get('sima', 'db_file')
- if (sopt.options.get('create_db', None)
- or not isfile(db_file)):
- logger.info('Creating database in "%s"', db_file)
- open(db_file, 'a').close()
- SimaDB(db_path=db_file).create_db()
- if sopt.options.get('create_db', None):