[generator][python] Removed meaningless check

This commit is contained in:
Maksim Andrianov 2019-06-27 14:56:25 +03:00 committed by gmoryes
parent 91bf5fa692
commit b6915313fc

View file

@ -224,9 +224,6 @@ def main():
if settings.PLANET_URL != settings.DEFAULT_PLANET_URL:
options["skip"] += stages_as_string(stage_update_planet)
if WORLD_NAME in options["countries"] and WORLD_COASTS_NAME not in options["countries"]:
raise ValidationError(f"{WORLD_NAME} depends on {WORLD_COASTS_NAME}.")
if stage_as_string(stage_coastline) in options["skip"]:
worlds_names = [x for x in options["countries"] if x in WORLDS_NAMES]
if worlds_names: