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

Comments

Projects
None yet
2 participants
@offby1
Copy link

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__)

?

@bertjwregeer bertjwregeer added this to the 1.7.0 milestone Jul 31, 2016

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