diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-11 21:59:55 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-11 21:59:55 -0700 |
commit | 9b7ed73f95145f88887d6fc3daa1bd2a9596b943 (patch) | |
tree | fe5e828b16044cde1b4cbc8f6dd299463ac11b64 /sleekxmpp/features/feature_bind/bind.py | |
parent | a189cb8333d5f59caa9015f0ded222696987d957 (diff) | |
download | slixmpp-9b7ed73f95145f88887d6fc3daa1bd2a9596b943.tar.gz slixmpp-9b7ed73f95145f88887d6fc3daa1bd2a9596b943.tar.bz2 slixmpp-9b7ed73f95145f88887d6fc3daa1bd2a9596b943.tar.xz slixmpp-9b7ed73f95145f88887d6fc3daa1bd2a9596b943.zip |
Reorganize XEP-0004.
Changes:
May now use underscored method names
form.field is replaced by form['fields']
form.get_fields no longer accepts use_dict parameter, it always
returns an OrderedDict now
form.set_fields will accept either an OrderedDict, or a list
of (var, dict) tuples as before.
Setting the form type to 'submit' will remove extra meta data
from the form fields, leaving just the 'var' and 'value'
Setting the form type to 'cancel' will remove all fields.
Diffstat (limited to 'sleekxmpp/features/feature_bind/bind.py')
0 files changed, 0 insertions, 0 deletions