From 59bbe7cddded745e8b7575aeb97a8d0c7ce63581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonel=20C=C3=A2mara?= Date: Tue, 5 Aug 2014 18:32:32 +0100 Subject: [PATCH] minor - removed unnecessary dict calls --- gluon/sqlhtml.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index fc84e7c6..3388f1e1 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -939,7 +939,7 @@ class SQLFORM(FORM): # - add translatable label for record ID # - add third column to right of fields, populated from the col3 dict - widgets = Storage(dict( + widgets = Storage( string=StringWidget, text=TextWidget, json=JSONWidget, @@ -959,9 +959,9 @@ class SQLFORM(FORM): checkboxes=CheckboxesWidget, autocomplete=AutocompleteWidget, list=ListWidget, - )) + ) - formstyles = Storage(dict( + formstyles = Storage( table3cols=formstyle_table3cols, table2cols=formstyle_table2cols, divs=formstyle_divs, @@ -969,7 +969,7 @@ class SQLFORM(FORM): bootstrap=formstyle_bootstrap, bootstrap3=formstyle_bootstrap3, inline=formstyle_inline, - )) + ) FIELDNAME_REQUEST_DELETE = 'delete_this_record' FIELDKEY_DELETE_RECORD = 'delete_record'