Skip to content

Commit

Permalink
Small code improvements (#678)
Browse files Browse the repository at this point in the history
* Small code improvements

* - remove too-unspecific change log entry
  • Loading branch information
ale-rt authored and dataflake committed Aug 30, 2019
1 parent 82672cb commit 7560c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -24,6 +24,7 @@ https://github.com/zopefoundation/Zope/blob/4.0a6/CHANGES.rst
(`tempstorage#8 <https://github.com/zopefoundation/tempstorage/issues/8>`_)
(`tempstorage#12 <https://github.com/zopefoundation/tempstorage/issues/12>`_)


4.1.1 (2019-07-02)
------------------

Expand Down
6 changes: 1 addition & 5 deletions src/ZPublisher/BaseRequest.py
Expand Up @@ -595,11 +595,7 @@ def traverse(self, path, response=None, validated_hook=None):

if inext is not None:
i = inext

if hasattr(groups, 'validate'):
v = groups.validate
else:
v = old_validation
v = getattr(groups, 'validate', old_validation)

auth = request._auth

Expand Down

0 comments on commit 7560c9f

Please sign in to comment.