Skip to content
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

wsgify.__call__ raises TypeError with unhelpful message #119

Closed
offby1 opened this issue Aug 30, 2013 · 0 comments
Closed

wsgify.__call__ raises TypeError with unhelpful message #119

offby1 opened this issue Aug 30, 2013 · 0 comments
Milestone

Comments

@offby1
Copy link

@offby1 offby1 commented Aug 30, 2013

I just got this exception (I don't remember how, and I suspect it's not important):

  File "build/bdist.macosx-10.8-intel/egg/webob/dec.py", line 121, in __call__
TypeError: Calling %r as a WSGI app with the wrong signature

I looked at the relevant code (https://github.com/Pylons/webob/blob/master/webob/dec.py#L121) and sure enough, I see

            raise TypeError(
                "Calling %r as a WSGI app with the wrong signature")

Surely that should read

            raise TypeError(
                "Calling %r as a WSGI app with the wrong signature" % __self__)

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants