Bugzilla – Bug 1589
support pre-2.7 version of python
Last modified: 2013-04-24 20:45:35 UTC
Created attachment 1514 [details] patch to support pre-2.7 version of python based on the following revision: http://code.nsnam.org/bake changeset: 144:70644974b31b on my ubuntu 10.04, bake failed as follows. % ./bake.py show Traceback (most recent call last): File "./bake.py", line 8, in <module> import bake File "/home/tazaki/tmp/bake-merge/bake/bake/__init__.py", line 2, in <module> from bake.Bake import Bake File "/home/tazaki/tmp/bake-merge/bake/bake/Bake.py", line 10, in <module> from xml.etree.ElementTree import ParseError ImportError: cannot import name ParseError % python -V Python 2.6.5 attached patch is derived from the following code. https://github.com/openstack/nova/commit/b6ae26ba279246d1b9e32b8665316a47847147ce
Patch applied but it is not enough to provide compatibility. Needs further discussions.
(In reply to comment #1) > Patch applied but it is not enough to provide compatibility. Needs further > discussions. Confirmed to be solved in Ubuntu 10.04 (python 2.6.5).