fix conflict between oldxml and the xml package used or defined in bzrlib

bzr revid: chs@tinyerp.com-20080912223112-87la9tkdhtvn5w97
This commit is contained in:
Christophe Simonis 2008-09-13 00:31:12 +02:00
parent 9e9c17279f
commit 59e46428d5
1 changed files with 5 additions and 3 deletions

View File

@ -37,9 +37,6 @@ GNU Public Licence.
(c) 2003-TODAY, Fabien Pinckaers - Tiny sprl
"""
import release
__author__ = release.author
__version__ = release.version
#----------------------------------------------------------
# python imports
@ -54,6 +51,11 @@ _oldxml = '/usr/lib/python%s/site-packages/oldxml' % sys.version[:3]
if os.path.exists(_oldxml):
sys.path.append(_oldxml)
import release
__author__ = release.author
__version__ = release.version
#----------------------------------------------------------
# get logger
#----------------------------------------------------------