* Add a workaround for the way ubuntu packages python-xml...
git-svn-id: svn+ssh://svn.marcochapeau.org/laditools/trunk@109 bfe161da-02ef-4cea-8c43-ae261ea21ac6
This commit is contained in:
parent
3d50ad8fdd
commit
1a15f50fda
|
@ -14,6 +14,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Dirty workaround for some Ubuntu crap
|
||||
try:
|
||||
sys.path.append('/usr/lib/python%s/site-packages/oldxml' % sys.version[:3])
|
||||
except:
|
||||
print "Ubuntu workaround needed it seems..."
|
||||
|
||||
import xml.dom
|
||||
from xml.dom.minidom import parse, getDOMImplementation
|
||||
from xml.dom.ext import PrettyPrint
|
||||
|
|
Loading…
Reference in New Issue