[FIX] xpath not exists in Python 2.6, and not necessary with lxml

bzr revid: christophe.chauvet@syleam.fr-20091207183949-ff7qscvw8088pt4g
This commit is contained in:
Christophe Chauvet
2009-12-07 19:39:49 +01:00
parent ac8e7946f5
commit adca002241
+1 -6
View File
@@ -29,12 +29,7 @@ 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'