Fix of another Python 2/3 incompatibility