Merge lp:~elachuni/ubuntu-webcatalog/python2.7 into lp:ubuntu-webcatalog
Proposed by
Anthony Lenton
Status: | Merged |
---|---|
Merged at revision: | 14 |
Proposed branch: | lp:~elachuni/ubuntu-webcatalog/python2.7 |
Merge into: | lp:ubuntu-webcatalog |
Diff against target: |
39 lines (+13/-9) 1 file modified
fabtasks/bootstrap.py (+13/-9) |
To merge this branch: | bzr merge lp:~elachuni/ubuntu-webcatalog/python2.7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Needs Fixing | ||
Review via email: mp+59536@code.launchpad.net |
Description of the change
This branch has a fix to the bootstrap fabric task, so that it supports natty's system library layout (using python2.7) as well as maverick's python 2.6.
To post a comment you must log in.
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)