Skip to content

Commit

Permalink
Merge pull request #115 from Yelp/PEOBS-2452-fix-pre-commit-issue
Browse files Browse the repository at this point in the history
fix flake8 issue
  • Loading branch information
acer618 authored Oct 28, 2021
2 parents d757fef + 3983236 commit 39ae7d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
1.0.1 (2021-10-28)
-------------------
- Fixed a flake8 formatting related failure from 1.0.0

1.0.0 (2021-10-27)
-------------------
- The post_handler_hook api is changed to pass the zipkin_span context
so users can add more content to the span during post processing


0.27.0 (2020-04-07)
-------------------
- Change tween ordering to be close to INGRESS rather than EXCVIEW
Expand Down
6 changes: 5 additions & 1 deletion pyramid_zipkin/tween.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@ def tween(request):
)

if zipkin_settings.post_handler_hook:
zipkin_settings.post_handler_hook(request, response, zipkin_context)
zipkin_settings.post_handler_hook(
request,
response,
zipkin_context
)

return response

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import find_packages
from setuptools import setup

__version__ = '1.0.0'
__version__ = '1.0.1'

setup(
name='pyramid_zipkin',
Expand Down

0 comments on commit 39ae7d5

Please sign in to comment.