small comparator change for python 3
python 3 migrations steps