diff --git a/pex/pex_builder.py b/pex/pex_builder.py index 064112554..d3594de52 100644 --- a/pex/pex_builder.py +++ b/pex/pex_builder.py @@ -211,7 +211,7 @@ def set_script(self, script): raise self.InvalidExecutableSpecification( 'Could not find script %r in any distribution %s within PEX!' % ( - script, ', '.join(self._distributions))) + script, ', '.join(str(d) for d in self._distributions))) def set_entry_point(self, entry_point): """Set the entry point of this PEX environment.