From 68b806774d8f1b69700a872645a72cd93accd8d7 Mon Sep 17 00:00:00 2001 From: Roman Deev Date: Fri, 10 Mar 2023 18:46:33 +0000 Subject: [PATCH] [tools] Cleaning up mentions of the former possibility to add advertising Signed-off-by: Roman Deev --- tools/python/maps_generator/README.md | 3 +-- tools/python/maps_generator/generator/gen_tool.py | 1 - tools/python/maps_generator/generator/steps.py | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/python/maps_generator/README.md b/tools/python/maps_generator/README.md index 192fb19567..c076f72797 100644 --- a/tools/python/maps_generator/README.md +++ b/tools/python/maps_generator/README.md @@ -213,8 +213,7 @@ optional arguments: If build is continued, files will always be downloaded again. --production Build production maps. In another case, 'osm only - maps' are built - maps without additional data and - advertising. + maps' are built - maps without additional data. --order ORDER Mwm generation order. ``` diff --git a/tools/python/maps_generator/generator/gen_tool.py b/tools/python/maps_generator/generator/gen_tool.py index 6e1435b97a..2c107dae57 100644 --- a/tools/python/maps_generator/generator/gen_tool.py +++ b/tools/python/maps_generator/generator/gen_tool.py @@ -12,7 +12,6 @@ logger = logging.getLogger("maps_generator") class GenTool: OPTIONS = { - "add_ads": bool, "disable_cross_mwm_progress": bool, "dump_cities_boundaries": bool, "emit_coasts": bool, diff --git a/tools/python/maps_generator/generator/steps.py b/tools/python/maps_generator/generator/steps.py index 4427262a62..819be10907 100644 --- a/tools/python/maps_generator/generator/steps.py +++ b/tools/python/maps_generator/generator/steps.py @@ -108,8 +108,6 @@ def step_preprocess(env: Env, **kwargs): def step_features(env: Env, **kwargs): - if env.production: - kwargs.update({"add_ads": True}) if any(x not in WORLDS_NAMES for x in env.countries): kwargs.update({"generate_packed_borders": True}) if any(x == WORLD_NAME for x in env.countries):