Re: [web2py] Re: Bug in user_agent_parser.py

2011-08-23 Thread Angelo Compagnucci
Thank you! It works like a charm! I'll keep you informed if I find anything! Thank you! 2011/8/23 Ross Peoples : > I just submitted a patch for inclusion into the trunk. It includes the > change you mention, and includes a few other fixes, including a fix to the > simple_detect() method that wo

[web2py] Re: Bug in user_agent_parser.py

2011-08-23 Thread Ross Peoples
I just submitted a patch for inclusion into the trunk. It includes the change you mention, and includes a few other fixes, including a fix to the simple_detect() method that would throw a different set of IndexErrors. I have attached it here as well so that you can test while waiting for inclus

[web2py] Re: Bug in user_agent_parser.py

2011-08-23 Thread Angelo Compagnucci
OK, I think I found the problem. It's located in these two functions. def detect(self, agent, result): if agent and self.checkWords(agent): result[self.info_type] = Storage(name=self.name) version = self.getVersion(agent) if version:

[web2py] Re: Bug in user_agent_parser.py

2011-08-23 Thread Ross Peoples
I am looking in to this. Thank you for taking the time to provide the needed information. I'll let you know what I find.