X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7717bbf59d711d21818c89309dbe08e00b16250f..af756d61ddb0bc0139adaf905372a5b35ce18029:/src/nominatim_db/cli.py diff --git a/src/nominatim_db/cli.py b/src/nominatim_db/cli.py index 9a54f338..8d8a07f7 100644 --- a/src/nominatim_db/cli.py +++ b/src/nominatim_db/cli.py @@ -111,8 +111,7 @@ class CommandlineParser: args.config = Configuration(args.project_dir, environ=kwargs.get('environ', os.environ)) - args.config.set_libdirs(module=kwargs['module_dir'], - osm2pgsql=kwargs['osm2pgsql_path']) + args.config.set_libdirs(osm2pgsql=kwargs['osm2pgsql_path']) log = logging.getLogger() log.warning('Using project directory: %s', str(args.project_dir)) @@ -120,10 +119,6 @@ class CommandlineParser: try: ret = args.command.run(args) - if args.config.TOKENIZER == 'legacy': - log.warning('WARNING: the "legacy" tokenizer is deprecated ' - 'and will be removed in Nominatim 5.0.') - return ret except UsageError as exception: if log.isEnabledFor(logging.DEBUG):