From 1b870be4e7e98faac1864a27b60dd9b1a016f23c Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 24 Aug 2012 10:37:24 +0200
Subject: [PATCH] finish renaming type properties to type_. Fixes #7222

---
 src/common/dataforms.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/dataforms.py b/src/common/dataforms.py
index 20d6b23ac4..184af501ba 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:
-- 
GitLab