From 9734bbf2403146e914c34311beb314e36c735beb Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 21 Sep 2024 17:12:35 +0200 Subject: [PATCH] remove warning about now removed legacy tokenizer --- src/nominatim_db/cli.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nominatim_db/cli.py b/src/nominatim_db/cli.py index 9a54f338..46c42904 100644 --- a/src/nominatim_db/cli.py +++ b/src/nominatim_db/cli.py @@ -120,10 +120,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): -- 2.39.5