Skip to content

Commit

Permalink
Fix failing linter.
Browse files Browse the repository at this point in the history
Flake8 recently extended its noqa syntax.

With doing so, the here used syntax was without effect.

modified:   CHANGES.rst
modified:   src/Products/ExternalMethod/ExternalMethod.py
  • Loading branch information
jugmac00 committed Aug 14, 2019
1 parent c56bba6 commit 7a70a2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Change log

4.4 (unreleased)
----------------
- Fix failing linter.


4.3 (2019-05-18)
Expand Down
2 changes: 1 addition & 1 deletion src/Products/ExternalMethod/ExternalMethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(self, id, title, module, function):
self.id = id
self.manage_edit(title, module, function)

security.declareProtected(view_management_screens, # NOQA: flake8: D001
security.declareProtected(view_management_screens, # noqa: D001
'manage_main')
manage_main = DTMLFile('dtml/methodEdit', globals())

Expand Down

0 comments on commit 7a70a2d

Please sign in to comment.