From: Sarah Hoffmann Date: Sat, 21 Sep 2024 15:12:35 +0000 (+0200) Subject: remove warning about now removed legacy tokenizer X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/9734bbf2403146e914c34311beb314e36c735beb?hp=d4f3eda3145539aa2516da2b8e80bb54b3227e95 remove warning about now removed legacy tokenizer --- 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):