diff options
Diffstat (limited to 'volk/gen/volk_machine_defs.py')
-rw-r--r-- | volk/gen/volk_machine_defs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/volk/gen/volk_machine_defs.py b/volk/gen/volk_machine_defs.py index b30a480ba..d1a856981 100644 --- a/volk/gen/volk_machine_defs.py +++ b/volk/gen/volk_machine_defs.py @@ -70,6 +70,8 @@ for machine_xml in machines_xml: kwargs[name] = val except: pass kwargs['archs'] = kwargs['archs'].split() + #force kwargs keys to be of type str, not unicode for py25 + kwargs = dict((str(k), v) for k, v in kwargs.iteritems()) register_machine(**kwargs) if __name__ == '__main__': |