Ignore:
Timestamp:
Apr 22, 2009, 4:53:43 PM (13 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@168
Message:

Don't do type interpretation on parsing Data Forms fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/data_form.py

    r51 r56  
    296296    def _parse_value(field, element):
    297297        value = unicode(element)
    298         if field.fieldType == 'boolean':
    299             value = value.lower() in ('1', 'true')
    300         elif field.fieldType in ('jid-multi', 'jid-single'):
    301             value = JID(value)
    302298        field.values.append(value)
    303299
Note: See TracChangeset for help on using the changeset viewer.