Thanks Anthony, although it looks like sys.version_info is a tuple in 2.6 :/
michael@devmav:~/isd/webcat/review$ fab symlink_python_apt
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/fabric/main.py", line 424, in main
commands[name](*args, **kwargs)
File "/home/michael/isd/webcat/review/fabtasks/bootstrap.py", line 37, in symlink_python_apt
system_libdir = '/usr/lib/python2.%s/' % sys.version_info.minor
AttributeError: 'tuple' object has no attribute 'minor'
michael@devmav:~/isd/webcat/review$
In [2]: sys.version_info
Out[2]: (2, 6, 6, 'final', 0)
Thanks Anthony, although it looks like sys.version_info is a tuple in 2.6 :/
michael@ devmav: ~/isd/webcat/ review$ fab symlink_python_apt pymodules/ python2. 6/fabric/ main.py" , line 424, in main name](* args, **kwargs) michael/ isd/webcat/ review/ fabtasks/ bootstrap. py", line 37, in symlink_python_apt python2. %s/' % sys.version_ info.minor devmav: ~/isd/webcat/ review$
Traceback (most recent call last):
File "/usr/lib/
commands[
File "/home/
system_libdir = '/usr/lib/
AttributeError: 'tuple' object has no attribute 'minor'
michael@
In [2]: sys.version_info
Out[2]: (2, 6, 6, 'final', 0)