Fix another Python 3-compatibility mistake in ha_tools.