Commit 572a6836 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

hal_json_style: pylint py3

parent f13f30eb
......@@ -216,7 +216,7 @@ if dialog_method != update_method and kw.get('deferred_style', 0):
# At this point the 'dialog_method' should point to a form (if we are in report)
# if we are not in Deferred mode - then it points to `Base_activateSimpleView`
if True:
if True: # pylint:disable=using-constant-test
if dialog_method != update_method:
# When we are not executing the update action, we have to change the skin
# manually,
......
......@@ -782,7 +782,8 @@ def renderField(traversed_document, field, form, value=MARKER, meta_type=None,
if list_method is not None:
selectKwargsForCallable(list_method, list_method_query_dict, REQUEST)
if (True): # editable_column_list (we need that template fields resolution
if True: # pylint:disable=using-constant-test
# editable_column_list (we need that template fields resolution
# (issued by existence of `form_relative_url`) always kicks in
extra_param_dict = {
# in case of a dialog the form_id points to previous form, otherwise current form
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment