set delault to Boolean in api_types

master3.3
Спиридонов Денис 12 years ago
parent 0551cb4b22
commit 448a8cf211

@ -49,7 +49,7 @@ class Field(ClassSerializer):
element = String
choice = Array(String)
listvalue = Array(String)
default = String
default = Boolean
value = String
tablevalue = Table
uncompatible = String

@ -94,7 +94,6 @@ class ApiWsdl:
dict_group_name[i] = list_group_name[i]
max_id = len(list_group_name)
self.printSUCCESS('Current offset = %d' %page_offset)
if not page_count:
page_count = len(list_group_name)
@ -123,6 +122,7 @@ class ApiWsdl:
if body:
self.printTable("Groups Table", head, body, fields = fields, \
onClick = 'detail_group', addAction = 'add_group')
self.printSUCCESS('Current offset = %d' %page_offset)
except Exception,e:
for i in apply(traceback.format_exception, sys.exc_info()):
print i

@ -87,7 +87,6 @@ class ApiWsdl:
list_req_id.sort()
max_id = list_req_id[len(list_req_id)-1]
self.printSUCCESS('Current offset = %d' %page_offset)
if not page_count:
page_count = len(list_req_id)
@ -125,6 +124,7 @@ class ApiWsdl:
if body:
self.printTable("Request Table", head, body, fields = fields, \
onClick = 'detail_request')
self.printSUCCESS('Current offset = %d' %page_offset)
except Exception,e:
for i in apply(traceback.format_exception, sys.exc_info()):
print i
@ -289,9 +289,6 @@ class ApiWsdl:
view.groups.append(group)
self.set_cache(sid, 'view_request', "vars", dv, smart=False)
return view
############## END DETAIL REQUEST METHOD #######################################
############## BEGIN CONFIRM REQUEST METHODS ###################################
def confirmRequestCommon(self,sid,info,methodname):

Loading…
Cancel
Save