Swivel: print(), basestring(), exception changes for Python 3 (#2249)
* from six.moves import xrange for Python 3
* from __future__ import print_function for Python 3
Also old style exception --> new style exception
* Define basestring for Python 3
Also remove unused import.
* from six import string_types for Python 3
* from __future__ import print_function
* print() --> print('')
Showing
Please register or sign in to comment