Check whether prepare-database is true, if so exit early
LOG.warning('Creating database')
database_import.setup_database_skeleton(args.config.get_libpq_dsn(),
rouser=args.config.DATABASE_WEBUSER)
LOG.warning('Creating database')
database_import.setup_database_skeleton(args.config.get_libpq_dsn(),
rouser=args.config.DATABASE_WEBUSER)
+ if args.prepare_database:
+ return 0
if args.continue_at in ('import-from-file', None):
# Check if the correct plugins are installed
if args.continue_at in ('import-from-file', None):
# Check if the correct plugins are installed