Project

General

Profile

« Previous | Next » 

Revision 4035

xml_func.py: _name(): Fixed bug where needed to pass None values through and handle no name parts to properly support NULL propagation

View differences:

xml_func.py
299 299
    parts = []
300 300
    for part in name_parts:
301 301
        if part in items: parts.append(items[part])
302
    if not parts: return None # pass None values through; handle no name parts
302 303
    return ' '.join(parts)
303 304
funcs['_name'] = _name
304 305

  

Also available in: Unified diff