Changeset 13635


Ignore:
Timestamp:
Oct 2, 2019 9:39:39 AM (2 months ago)
Author:
randersson
Message:

#5819 Updated set_target_platforms on trunk with half of the fix from the py3 branch, see similar change in commit r13593.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Python/src/pymodelica/compiler_wrappers.py

    r12127 r13635  
    322322        if isinstance(platforms, basestring):
    323323            platforms = [platforms]
    324         self._compiler.targetPlatforms = platforms
     324        self._compiler.setTargetPlatforms(platforms)
    325325       
    326326    def compile_Unit(self, class_name, file_name, target, version, compile_to):
Note: See TracChangeset for help on using the changeset viewer.