Remove dead environment creation code (#44065)

This commit is contained in:
Tamara Dahlgren 2024-05-07 21:49:06 -07:00 committed by GitHub
parent e0c6cca65c
commit 2446695113
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -383,14 +383,6 @@ def create_in_dir(
return env
# Must be done after environment is initialized
if include_concrete:
manifest.set_include_concrete(include_concrete)
if not keep_relative and init_file is not None and str(init_file).endswith(manifest_name):
init_file = pathlib.Path(init_file)
manifest.absolutify_dev_paths(init_file.parent)
def _rewrite_relative_dev_paths_on_relocation(env, init_file_dir):
"""When initializing the environment from a manifest file and we plan