From: W. Trevor King Date: Thu, 23 Feb 2012 12:49:31 +0000 (-0500) Subject: Alphebetize bot names in apachelog/resolve.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a49764bab334b4c52233785e241a175300931a20;p=apachelog.git Alphebetize bot names in apachelog/resolve.py. Also mention "bingbot" as an alias for "msnbot". --- diff --git a/apachelog/resolve.py b/apachelog/resolve.py index 88843b7..31451fa 100644 --- a/apachelog/resolve.py +++ b/apachelog/resolve.py @@ -41,10 +41,10 @@ class Resolver (object): 'feedburner': [_re.compile('.*rate-limited-proxy-.*.google.com.*')], } for bot in [ + 'baiduspider', 'googlebot', + 'msnbot', # a.k.a: bingbot 'yandex', - 'baiduspider', - 'msnbot', ]: REGEXPS[bot] = [_re.compile('.*{}.*'.format(bot))]