aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d4ce0b8..683458f 100644
--- a/src/java_config/Virtual.py
+++ b/src/java_config/Virtual.py
@@ -75,7 +75,7 @@ class Virtual(Package):
Returns this package's classpath
"""
if not self.use_active_package():
- if not self._config["VM_CLASSPATH"]:
+ if not self._config.has_key("VM_CLASSPATH"):
return ""
return self._manager.get_active_vm().query('JAVA_HOME') + self._config["VM_CLASSPATH"]
return self.get_active_package().classpath()