Message3963
I encountered this exact problem with modjy, which broke after jython
2.5b0. I reported it as an issue
http://bugs.jython.org/issue1171
The cause was a backwards incompatible API change.
You need to change your code as described in that issue.
If you need for your code to work on all versions, you can do what modjy
now does, as follows
try:
from org.python.core.util import FileUtil
create_py_file = FileUtil.wrap
except ImportError:
from org.python.core import PyFile
create_py_file = PyFile
my_file = create_py_file(FileInputStream("in.txt"))
HTH. |
|
Date |
User |
Action |
Args |
2008-12-18 20:29:15 | amak | set | messageid: <1229632155.09.0.629497394221.issue1204@psf.upfronthosting.co.za> |
2008-12-18 20:29:15 | amak | set | recipients:
+ amak, cgroves, kam |
2008-12-18 20:29:15 | amak | link | issue1204 messages |
2008-12-18 20:29:14 | amak | create | |
|