Changeset 6405


Ignore:
Timestamp:
26/01/10 10:30:14 (9 years ago)
Author:
domlowe
Message:

Catching broken symlinks in trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsserver/trunk/lib/cowsserver/controllers/catalogue.py

    r6395 r6405  
    3232                fc_name = fc 
    3333            else: 
    34                 doc = globalCSMLConnector.getCsmlDoc(fc) 
     34                try: 
     35                    doc = globalCSMLConnector.getCsmlDoc(fc) 
     36                except ValueError: 
     37                    log.warning('could not open file %s'%fc) 
     38                    continue      
    3539                 
    3640                if hasattr(doc, 'name'): 
Note: See TracChangeset for help on using the changeset viewer.