biwin / minidetector

Automatically exported from code.google.com/p/minidetector
0 stars 0 forks source link

svn/ trunk/ minidetector/ __init__.py Line 30:31 #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
for ua in search_strings:
    s = request.META["HTTP_USER_AGENT"].lower()

should be

s = request.META["HTTP_USER_AGENT"].lower()
for ua in search_strings:
    ...

since s is invariant in the for loop.

Original issue reported on code.google.com by Slightly...@googlemail.com on 31 Jan 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Good point!

(and sorry for taking so long to pick up on it, not used to goggle code yet!)

Original comment by metam...@gmail.com on 21 May 2008 at 5:05

GoogleCodeExporter commented 9 years ago
Fixed in [13]

Original comment by metam...@gmail.com on 21 May 2008 at 5:18