aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-09-26 07:06:55 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-09-26 07:06:55 +0000
commitedd0ddf2c6b091bb2f3809be8e7756eaa1ee01fc (patch)
treeb2570bf165fe09f2a40b4fc0f40a8d6232c0ec82
parentAdded some documenation, cleaned up EnvironmentManagers have_provider functio... (diff)
downloadjava-config-edd0ddf2c6b091bb2f3809be8e7756eaa1ee01fc.tar.gz
java-config-edd0ddf2c6b091bb2f3809be8e7756eaa1ee01fc.tar.bz2
java-config-edd0ddf2c6b091bb2f3809be8e7756eaa1ee01fc.zip
Fixed bug in Virtual.py
svn path=/projects/java-config-2/branches/virtuals-support/; revision=5417
-rw-r--r--src/java_config/Virtual.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java_config/Virtual.py b/src/java_config/Virtual.py
index b318c1b..0d4a263 100644
--- a/src/java_config/Virtual.py
+++ b/src/java_config/Virtual.py
@@ -175,7 +175,7 @@ class Virtual(Package):
# Load possible vms. These are vm's that are installed.
vms = self._manager.get_virtual_machines()
- if self._config.has_key("VM"):
+ if self._config.has_key("VM") and self._config["VM"]:
import VersionManager
verman = VersionManager.VersionManager()