pep8
patch migrate.py for py3