Backed out changeset de9e103ffea4 (bug 1732946) for causing mach issues. a=backout

This commit is contained in:
Csoregi Natalia 2021-12-19 23:02:13 +02:00
Родитель 35aa7c3e53
Коммит b7f8199d2d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -115,9 +115,9 @@ def _parse_mach_env_requirements(
f'Perhaps "{current_requirements_path}:{line_number}" '
'should change to start with "vendored:" instead of "pth:".'
)
if child.name.endswith(".egg-info"):
if child.name == "PKG-INFO":
raise Exception(
f'The "pth:" pointing to "{path}" has a ".egg-info" file.\n'
f'The "pth:" pointing to "{path}" has a "PKG-INFO" file.\n'
f'Perhaps "{current_requirements_path}:{line_number}" '
'should change to start with "vendored:" instead of "pth:".'
)