New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the __module__ and import path of the request after custom proper… #3129

Merged
merged 1 commit into from Jul 19, 2017

Conversation

Projects
None yet
2 participants
@mmerickel
Member

mmerickel commented Jul 18, 2017

…ties have been set

previously anytime config.add_request_method was used the request
would appear as pyramid.util.Request when displaying
request.__class__. This overwrites the __module__ which fixes
that issue so that it appears as pyramid.request.Request.

fix the __module__ and import path of the request after custom proper…
…ties have been set

previously anytime ``config.add_request_method`` was used the request
would appear as ``pyramid.util.Request`` when displaying
``request.__class__``. This overwrites the ``__module__`` which fixes
that issue so that it appears as ``pyramid.request.Request``.

@mmerickel mmerickel merged commit 90f64a1 into Pylons:master Jul 19, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

mmerickel added a commit that referenced this pull request Jul 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment