Commit 90191708 authored by Jérome Perrin's avatar Jérome Perrin

hal_json_style: pylint py3

parent c382d103
......@@ -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,8 +782,9 @@ 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
# (issued by existence of `form_relative_url`) always kicks in
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
"form_id": REQUEST.get('form_id', form.id)
......
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