Fix oldxml at python2.6 for Ubuntu 9.04
bzr revid: p_christ@hol.gr-20090618151011-kwip63jqzzu44ydd
This commit is contained in:
parent
8e26c69bf1
commit
0fa7af127d
|
@ -43,10 +43,9 @@ import pwd
|
|||
# the path needs to be updated before any `import xml`
|
||||
# TODO: remove PyXML dependencies, use lxml instead.
|
||||
#----------------------------------------------------------
|
||||
_oldxml = '/usr/lib/python%s/site-packages/oldxml' % sys.version[:3]
|
||||
_oldxml = '/usr/lib/python%s/dist-packages/oldxml' % sys.version[:3]
|
||||
if os.path.exists(_oldxml):
|
||||
sys.path.append(_oldxml)
|
||||
|
||||
sys.path.insert(0,_oldxml)
|
||||
|
||||
import release
|
||||
__author__ = release.author
|
||||
|
|
Loading…
Reference in New Issue