[fix] remove import of xml.xpath, death to pyxml

bzr revid: xmo@tinyerp.com-20091202112122-taugkps2909a62b3
This commit is contained in:
Xavier Morel
2009-12-02 12:21:22 +01:00
parent ff890fe234
commit 6c8eef526f
+1 -7
View File
@@ -28,13 +28,7 @@ import netsvc
import re
import copy
import sys
try:
from xml import dom, xpath
except ImportError:
sys.stderr.write("ERROR: Import xpath module\n")
sys.stderr.write("ERROR: Try to install the old python-xml package\n")
sys.exit(2)
from xml import dom
class actions(osv.osv):
_name = 'ir.actions.actions'