]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove warning about now removed legacy tokenizer
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 21 Sep 2024 15:12:35 +0000 (17:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 21 Sep 2024 15:12:35 +0000 (17:12 +0200)
src/nominatim_db/cli.py

index 9a54f338e0f61daecf8fe9e0de0a85a9d53f48f0..46c4290452b6cbfa8123b5a290996bf1ae1d4182 100644 (file)
@@ -120,10 +120,6 @@ class CommandlineParser:
         try:
             ret = args.command.run(args)
 
         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):
             return ret
         except UsageError as exception:
             if log.isEnabledFor(logging.DEBUG):