Posted on Jan 31, 2008 by
Swift Bird
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.
Comment #1
Posted on May 21, 2008 by Quick GiraffeGood point!
(and sorry for taking so long to pick up on it, not used to goggle code yet!)
Comment #2
Posted on May 21, 2008 by Quick GiraffeFixed in [13]
Status: Fixed
Labels:
Type-Defect
Priority-Medium