Skip to content

Commit

Permalink
Line length fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWilkes committed May 28, 2019
1 parent ab64f98 commit f7dec42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Products/Five/browser/metaconfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ def page(_context, name, permission, for_=Interface,
required)

_handle_for(_context, for_)
new_class._simple_whitelist = set(required) - set([attribute, 'browserDefault', '__call__', 'publishTraverse'])
expected = [attribute, 'browserDefault', '__call__', 'publishTraverse']
new_class._simple_whitelist = set(required) - set(expected)

_configure_z2security(_context, new_class, required)

Expand Down

0 comments on commit f7dec42

Please sign in to comment.