[Contribs] Fix parsing bug in errcode.py