aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-05-06 20:02:39 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-05-06 20:02:39 +0000
commit062b15dd3e719a56b7d08c607f1bf41217c7c962 (patch)
treef4508fa297d379cbf27b8cb5d4fa555b9f7dda5f
parentUpdated version (diff)
downloadjava-config-062b15dd3e719a56b7d08c607f1bf41217c7c962.tar.gz
java-config-062b15dd3e719a56b7d08c607f1bf41217c7c962.tar.bz2
java-config-062b15dd3e719a56b7d08c607f1bf41217c7c962.zip
Fix python3 error
svn path=/projects/java-config-2/trunk/; revision=8184
-rwxr-xr-xsrc/gjl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gjl b/src/gjl
index a0094d8..dc95c8c 100755
--- a/src/gjl
+++ b/src/gjl
@@ -23,7 +23,7 @@ atom_parser = re.compile(r"([<>=]+)virtual/(jre|jdk)-([0-9\.*]+)")
#Depreciated.
def get_needed_target(pkg):
- highest_target = None
+ highest_target = ""
needs_jdk = False
for pkg in get_needed_packages(pkg):
pkg_needs_jdk = False
@@ -43,7 +43,7 @@ def get_needed_target(pkg):
return highest_target, needs_jdk
def get_needed_target2(pkg):
- highest_target = None
+ highest_target = ""
needs_jdk = set()
for pkg in get_needed_packages(pkg):
target = pkg.target()