amoffat/pbs — Issue #10: python 2.x not working
Author: com48
Created: 2012-01-30 11:08:15+00:00
State: open

pbs.py in ()
40
41 VERSION = "0.4"
---> 42 IS_PY3 = sys.version_info.major == 3
43
44 if IS_PY3: raw_input = input

AttributeError: 'tuple' object has no attribute 'major'

in python 2.6 it seems there is no ".major"

In [2]: sys.version_info
Out[2]: (2, 6, 5, 'final', 0)