1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Change message when VMware is not installed on Linux. Ref #326.

This commit is contained in:
grossmj 2015-10-12 16:27:31 -06:00
parent ac75977ae0
commit b53f0e89ce

View File

@ -170,11 +170,10 @@ class VMware(BaseManager):
else:
if sys.platform.startswith("darwin"):
return # FIXME: no version checking on Mac OS X
else:
vmware_path = VMware._get_linux_vmware_binary()
vmware_path = VMware._get_linux_vmware_binary()
if vmware_path is None:
raise VMwareError("VMware is not installed (vmware executable could not be found in $PATH)")
raise VMwareError("VMware is not installed (vmware or vmplayer executable could not be found in $PATH)")
try:
output = yield from subprocess_check_output(vmware_path, "-v")