From 80ca6c052625f937b2ef50441ea1452f939fa00c Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 3 May 2012 11:03:22 +0400 Subject: [PATCH] Fix work with python 2.7.3 pyxml. --- pym/cl_template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/cl_template.py b/pym/cl_template.py index f8127ec..8c6f7b9 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -19,6 +19,9 @@ import os import stat import re import xml.dom.minidom +import xml +if hasattr(xml,"use_pyxml"): + xml.use_pyxml() from xml import xpath import subprocess import types