Author: fschulze Date: Wed Nov 16 14:17:47 2005 New Revision: 1837 Modified: azax/trunk/config.py Log: Try to import cElementTree as well. Fail if no matching ElementTree compatible xml library is found.
Modified: azax/trunk/config.py ============================================================================== --- azax/trunk/config.py (original) +++ azax/trunk/config.py Wed Nov 16 14:17:47 2005 @@ -5,6 +5,6 @@ from lxml import etree except ImportError: try: - from elementtree import ElementTree as etree + import cElementTree as etree except ImportError: - pass + from elementtree import ElementTree as etree -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins