Move imports to one line in update-py2.py.