Ignore:
Timestamp:
01/11/07 11:55:50 (12 years ago)
Author:
lawrence
Message:

Fixes the bug in contact addresses exposed by the IPCC record

File:
1 edited

Legend:

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

    r2845 r2975  
    127127            # we don't need the helper because we're getting the tags from the element. 
    128128            # should we worry about empty elements here? yes! 
    129             for t in helper.find(elem,'Contact_Address'): 
     129            for t in (helper.find(elem,'Contact_Address') or []): 
    130130                if t.text is not None: a.append(t.text) 
    131131            self.core['address']=a 
Note: See TracChangeset for help on using the changeset viewer.