A recurrent problem in web2py is that request.args is a list and if no
request.args are provided
request.args[0] returns a ticket. To avoid this I have a created a new
class called storage.List and not request.args[i] returns None if the
index i is out of bounds.

This does not break anybody's code but avoids the ticket if you are
not checking that i is within bounds.

Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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