Changeset 3206 for TI02-CSML


Ignore:
Timestamp:
11/01/08 19:50:32 (11 years ago)
Author:
selatham
Message:

make clementtree imports more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csml2Moles/molesReadWrite.py

    r2714 r3206  
    22#Updated Sue Latham, various, see SVN log 
    33 
    4 #import cElementTree as ET 
    54try: #python 2.5 
    65    from xml.etree import cElementTree as ET 
     
    1110    except ImportError: 
    1211        # if you've egged it this is the way it comes 
    13         from elementtree import cElementTree as ET 
    14  
     12        from ndgUtils.elementtree import cElementTree as ET 
    1513import sys 
    1614 
Note: See TracChangeset for help on using the changeset viewer.