Changeset 13517


Ignore:
Timestamp:
Sep 18, 2019 9:03:24 AM (3 months ago)
Author:
randersson
Message:

#5819 Replaced previous split of using module string to now use the class str. Reason is using split with module string is not compatible with python 3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/Python/src/pymodelica/compiler_interface.py

    r13461 r13517  
    1818Internal module, interface to Java classes
    1919"""
    20 import string
     20
    2121import os
    2222
     
    3030# note that startJVM() fails after shutdownJVM(), hence, only one start
    3131if not jpype.isJVMStarted():
    32     _jvm_args = string.split(pym.environ['JVM_ARGS'],' ')
     32    _jvm_args = str.split(pym.environ['JVM_ARGS'],' ')
    3333    _jvm_class_path = pym.environ['COMPILER_JARS']
    3434    _jvm_ext_dirs = pym.environ['BEAVER_PATH']
Note: See TracChangeset for help on using the changeset viewer.