remove duplicate code about pyxml
bzr revid: stw-f3da83232fc55addd0c84a7e524f416eb94c03b9
This commit is contained in:
parent
9e73dd0f3a
commit
74be20fc69
|
@ -50,17 +50,10 @@ __builtin__.__dict__['tinyerp_version_string'] = "Tiny ERP Server " + __version_
|
|||
# python imports
|
||||
#----------------------------------------------------------
|
||||
import sys,os,signal
|
||||
|
||||
# ubuntu 8.04 has obsoleted `pyxml` package and installs here.
|
||||
# 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]
|
||||
if os.path.exists(_oldxml):
|
||||
sys.path.append(_oldxml)
|
||||
|
||||
#----------------------------------------------------------
|
||||
# ubuntu 8.04 has obsoleted `pyxml` package and installs here.
|
||||
# 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]
|
||||
if os.path.exists(_oldxml):
|
||||
|
|
Loading…
Reference in New Issue