Changeset 2de37f3 in rtems-tools for rtemstoolkit/macros.py


Ignore:
Timestamp:
Mar 9, 2016, 3:27:42 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, master
Children:
b7a9c81
Parents:
a5d243d
Message:

Python 2 and python 3 refactor fixes.

Updates #2619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/macros.py

    ra5d243d r2de37f3  
    189189
    190190    def __setitem__(self, key, value):
     191        key = self._unicode_to_str(key)
    191192        if type(key) is not str:
    192193            raise TypeError('bad key type (want str): %s' % (type(key)))
Note: See TracChangeset for help on using the changeset viewer.