From b53f0e89ceb5d175ea468b6370eccece99932098 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 12 Oct 2015 16:27:31 -0600 Subject: [PATCH] Change message when VMware is not installed on Linux. Ref #326. --- gns3server/modules/vmware/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gns3server/modules/vmware/__init__.py b/gns3server/modules/vmware/__init__.py index 4cc4231e..b1f70a68 100644 --- a/gns3server/modules/vmware/__init__.py +++ b/gns3server/modules/vmware/__init__.py @@ -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")