Ignore:
Timestamp:
29/11/07 16:11:57 (12 years ago)
Author:
lawrence
Message:

Oh the many ways ElementTree can appear ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/DocumentRetrieve.py

    r3073 r3075  
    44try: 
    55    from xml.etree import ElementTree as ET 
    6 except: 
    7     import ElementTree as ET 
     6except ImportError: 
     7    try: 
     8        import ElementTree as ET 
     9    except ImportError: 
     10        # For some reason when I install ElementTree with easyinstall it 
     11        # is called "elementree". 
     12        import elementtree.ElementTree as ET 
    813import urllib2 
    914#from stripped_xqueries import strip_de_xquery 
Note: See TracChangeset for help on using the changeset viewer.