Changeset 13828


Ignore:
Timestamp:
Oct 23, 2019 4:58:58 PM (4 weeks ago)
Author:
aramle
Message:

#5819 Updating error message to not concatenate strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PyFMI/trunk/src/pyfmi/fmi.pyx

    r13823 r13828  
    80468046            FMIL.fmi_import_rmdir(&callbacks,fmu_temp_dir)
    80478047            _handle_load_fmu_exception(fmu, log_data)
    8048             raise FMUException('FMU is a ' + FMIL.fmi1_fmu_kind_to_string(fmu_1_kind) + ' and not a ' + kind.upper())
     8048            raise FMUException("FMU is a {} and not a {}".format(FMIL.fmi1_fmu_kind_to_string(fmu_1_kind), kind.upper()))
    80498049
    80508050    elif version == FMIL.fmi_version_2_0_enu:
Note: See TracChangeset for help on using the changeset viewer.