Thanks, fixed in trunk
Graham Higgins wrote:
> Correction for a miniscule typo in WebOb trunk r7113 which cause the
> following exception: NameError: global name 'res' is not defined.
>
>
> Index: WebOb/webob/__init__.py
> ===================================================================
> --- WebOb/webob/__init__.py (revision 7113)
> +++ WebOb/webob/__init__.py (working copy)
> @@ -1990,7 +1990,7 @@
> def readline(self, size=None):
> # We ignore size, but allow it to be hinted
> rest = self._get_body()[self.position:]
> - next = res.find('\r\n')
> + next = rest.find('\r\n')
> if next == -1:
> return self.read()
> self.position += next+2
>
>
> >
--
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---