From a49764bab334b4c52233785e241a175300931a20 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 23 Feb 2012 07:49:31 -0500 Subject: [PATCH] Alphebetize bot names in apachelog/resolve.py. Also mention "bingbot" as an alias for "msnbot". --- apachelog/resolve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))] -- 2.26.2