Use PY2 check instead of PY3 check.

See http://lucumr.pocoo.org/2013/5/21/porting-to-python-3-redux/ for
details.
Less whitespace, please