Changeset 724

Show
Ignore:
Timestamp:
07/21/08 01:08:02 (4 months ago)
Author:
sylvain
Message:

Used the proper way to retrieve the group value

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • oss/headstock/headstock/api/contact.py

    r677 r724  
    103103                groups = child.get_children('group', ns=child.xml_ns) or [] 
    104104                for group in groups: 
    105                     item.groups.append(unicode(group)) 
     105                    if group.xml_text: 
     106                        item.groups.append(group.xml_text) 
    106107                item.subscription = child.get_attribute_value('subscription') 
    107108                r.items[nodeid] = item