Changeset 6359063 in rtems-tools for rtemstoolkit/macros.py


Ignore:
Timestamp:
Mar 9, 2016, 3:39:43 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
3e9b179
Parents:
4001a74
Message:

Python 2 and python 3 refactor fixes.

Updates #2619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/macros.py

    r4001a74 r6359063  
    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.