Admin - Fix install moto[all] (#4571)

This commit is contained in:
Bert Blommers 2021-11-14 11:30:27 -01:00 committed by GitHub
parent 1cac9330aa
commit 4015d799df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,9 @@ all_server_deps = all_extra_deps + ["flask", "flask-cors"]
extras_per_service = {} extras_per_service = {}
for service_name in [ for service_name in [
service[5:] for service in dir(service_list) if service.startswith("mock_") service[5:]
for service in dir(service_list)
if service.startswith("mock_") and not service == "mock_all"
]: ]:
extras_per_service[service_name] = [] extras_per_service[service_name] = []
extras_per_service.update( extras_per_service.update(