* tools/dev/wc-format.py (get_format): Avoid comparison between str and int, which is not allowed on Python 3.