Are we aiming to be 2.4 compatible? There are several more problems
that I've found but I won't worry about it if not.

On Mar 23, 6:41 pm, "mr.freeze" <nat...@freezable.com> wrote:
> On python 2.4, I had to make these changes to tools.py to get web2py
> running:
>
> line 2562:
> ------------
> Before:
> data = data if data is None else urllib.urlencode(data)
> ------------
> After:
> if data !=None:
>     data = urllib.urlencode(data)
> ------------------------------------------------------------------------
>
> line 2571:
> ------------
> Before:
> method = urlfetch.GET if data is None else urlfetch.POST
> ------------
> After:
> method = urlfetch.POST
> if data == None:
>     method = urlfetch.GET
>
> It seems to work after that.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to