diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2012-08-24 12:37:24 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2012-08-24 12:37:24 +0400 |
commit | 1b870be4e7e98faac1864a27b60dd9b1a016f23c (patch) | |
tree | 61855537e9c6b8d0ac202a464e630293f1a36632 /src/common/dataforms.py | |
parent | 30d033c7c35d48797f0415a0f3ae78ee27b081b2 (diff) |
finish renaming type properties to type_. Fixes #7222
Diffstat (limited to 'src/common/dataforms.py')
-rw-r--r-- | src/common/dataforms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/dataforms.py b/src/common/dataforms.py index 20d6b23ac..184af501b 100644 --- a/src/common/dataforms.py +++ b/src/common/dataforms.py @@ -132,7 +132,7 @@ class DataField(ExtendedNode): self.options = options @nested_property - def type(): + def type_(): """ Type of field. Recognized values are: 'boolean', 'fixed', 'hidden', 'jid-multi', 'jid-single', 'list-multi', 'list-single', 'text-multi', @@ -598,7 +598,7 @@ class DataForm(ExtendedNode): self.instructions=instructions @nested_property - def type(): + def type_(): """ Type of the form. Must be one of: 'form', 'submit', 'cancel', 'result'. 'form' - this form is to be filled in; you will be able soon to do: |