On Linux, sys.platform doesn’t contain themajor version anymore.

Changed in version 3.3: On Linux, sys.platform doesn’t contain
the major version anymore. It is always 'linux', instead of
'linux2' or 'linux3'.