Export to GitHub

minidetector - issue #5

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


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 Giraffe

Good 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 Giraffe

Fixed in [13]

Status: Fixed

Labels:
Type-Defect Priority-Medium