Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195847 - java-config-2.1.2 relies on Python 2.5 syntax
Summary: java-config-2.1.2 relies on Python 2.5 syntax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-14 14:41 UTC by Maan Bsat
Modified: 2007-10-14 18:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maan Bsat 2007-10-14 14:41:26 UTC
java-config-2.1.2's EnvironmentManager.py uses a Try..Catch..Finally statement (around lines 35-39), which is not allowed in Python 2.4 and lower. Therefore, the code should either be changed, or version 2.1.2 should be made to depend on Python 2.5.

Reproducible: Always

Steps to Reproduce:
1. Have Python 2.4.x or lower installed.
2. Emerge or run java-config-2 from java-config-2.1.2

Actual Results:  
SyntaxError exception occurs in EnvironmentManager.py

Expected Results:  
Run smoothly :)
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2007-10-14 18:20:59 UTC
Thanks for the bug report, 2.1.2-r1 is a patch release to fix this issue.  Should already be sync'able