Project

General

Profile

« Previous | Next » 

Revision 1412

xml_func.py: _label: Use ustr instead of str when checking types

View differences:

lib/xml_func.py
102 102
funcs['_merge'] = _merge
103 103

  
104 104
def _label(items):
105
    items = dict(conv_items(str, items)) # get *once* from iter and check types
105
    items = dict(conv_items(strings.ustr, items))
106
        # get *once* from iter and check types
106 107
    try:
107 108
        label = items['label']
108 109
        value = items['value']

Also available in: Unified diff