On 30/10/2018 13:06, Amar Takhar wrote: > On 2018-10-30 11:20 +1100, Chris Johns wrote: > <snip> >> Amar mentioned something about this in a chat the other day and I have not >> chased it up. > <snip> > > This is quick since it's late but the issue I ran into is in > > rtemstoolkit/version.py > > In line 174: -- if that's the latest > > _revision = int(''.join(itertools.takewhile(str.isdigit, rev))) > > Depending on the version of Python you are running 'rev' can be unicode() or > str(). The operation being run is not valid for unicode. > > The fix I did to solve this issue was to coerce it to str() > > _revision = int(''.join(itertools.takewhile(str.isdigit, str(rev)))) > > This should be harmless since the value is always a string anyway so no data > will ever be lost. >
Thanks. I will patch the code. Chris _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users