Changeset 13838


Ignore:
Timestamp:
Oct 24, 2019 1:19:05 PM (3 weeks ago)
Author:
aramle
Message:

#5819 Updating to Python 3 compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PyFMI/trunk/src/pyfmi/simulation/assimulo_interface.py

    r13689 r13838  
    996996            names = ""
    997997            for i in range(self._f_nbr):
    998                 names += self._model.get_states_list().keys()[i] + ", "
     998                names += list(self._model.get_states_list().keys())[i] + ", "
    999999           
    10001000            f.write("Solver: %s \n"%solver.__class__.__name__)
Note: See TracChangeset for help on using the changeset viewer.