Commit 8260f519 authored by Reinout van Rees's avatar Reinout van Rees

Fix for #184

See #184, a comma doesn't work (like it *does* inside a logger call) inside an exception.
parent 4f7b87de
......@@ -158,8 +158,7 @@ cmd.append(requirement)
import subprocess
if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=setuptools_path)) != 0:
raise Exception(
"Failed to execute command:\n%s",
repr(cmd)[1:-1])
"Failed to execute command:\n%s" % repr(cmd)[1:-1])
######################################################################
# Import and run buildout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment