Use sys.version_info[0] instead of .major
Use sys.version_info[0] instead of .major

Fixes https://github.com/banga/powerline-shell/issues/247

banga/powerline-shell,banga/powerline-shell,milkbikis/powerline-shell,b-ryan/powerline-shell,b-ryan/powerline-shell