aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-10-02 02:38:55 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-10-02 02:38:55 +0000
commit7bda963c0a3d06e9961c3f140cbc75e7fad6d322 (patch)
treec33ee40dffc7d50d72e6e0ec99f6c600f809a120
parentExplicitly returning False. (diff)
downloadjava-config-virtuals-support.tar.gz
java-config-virtuals-support.tar.bz2
java-config-virtuals-support.zip
Fixed bug in Virtual classpath functionvirtuals-support
svn path=/projects/java-config-2/branches/virtuals-support/; revision=5437
-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()