more debug

This commit is contained in:
Stuart Mitchell
2015-03-16 23:35:19 +13:00
parent 3d9dbdb937
commit 8a55ecdbc5

View File

@@ -322,6 +322,9 @@ class LpSolver_CMD(LpSolver):
"""Checks that the solver command is executable,
And returns the actual path to it."""
print command
print 'os.path.exists(command)=', os.path.exists(command)
print 'os.access(command, os.X_OK)=', os.access(command, os.X_OK)
if os.path.isabs(command):
if os.path.exists(command) and os.access(command, os.X_OK):
return command