Bug #705028 - gen-western-table.py is not compatible with python3