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

officejs_support_request_ui: fix pylint warning and enable coding style test

parent d1f2732b
# pylint:disable=redefined-builtin
# this script uses file= argument
portal = context.getPortalObject() portal = context.getPortalObject()
follow_up_value = portal.restrictedTraverse(follow_up) follow_up_value = portal.restrictedTraverse(follow_up)
assert follow_up_value.getPortalType() == "Support Request" assert follow_up_value.getPortalType() == "Support Request"
......
# pylint:disable=redefined-builtin
# this script uses file= argument
portal = context.getPortalObject() portal = context.getPortalObject()
logged_in_user_value = portal.portal_membership.getAuthenticatedMember().getUserValue() logged_in_user_value = portal.portal_membership.getAuthenticatedMember().getUserValue()
......
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