From b71f16449a8097e68ae04fef25f22d7314b0f23b Mon Sep 17 00:00:00 2001 From: Eric Arellano Date: Mon, 25 Feb 2019 21:03:46 -0700 Subject: [PATCH] Fix typo --- src/python/pants/backend/python/tasks/python_binary_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/pants/backend/python/tasks/python_binary_create.py b/src/python/pants/backend/python/tasks/python_binary_create.py index 0aa46037489..dc30234b909 100644 --- a/src/python/pants/backend/python/tasks/python_binary_create.py +++ b/src/python/pants/backend/python/tasks/python_binary_create.py @@ -143,7 +143,7 @@ def _create_binary(self, binary_tgt, results_dir): # Add global and target-level interpreter compatibility constraints to pex info. pex_builder.add_interpreter_constraints_from(constraint_tgts) - pex_builder.add_interpreter_constraints(PythonSetup.global_instance().interpreter_constraints) + pex_builder.add_interpreter_constraint(PythonSetup.global_instance().interpreter_constraints) # Dump everything into the builder's chroot. for tgt in source_tgts: