changeset 2212:1e0582fc064c

SystemInfo: fixed isSpiderAgent
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 16 May 2007 15:01:44 +0200
parents 15196c833689
children fae771ce78ce
files MoinMoin/macro/SystemInfo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/SystemInfo.py	Mon May 14 23:02:35 2007 +0200
+++ b/MoinMoin/macro/SystemInfo.py	Wed May 16 15:01:44 2007 +0200
@@ -164,7 +164,7 @@
         return buf.getvalue()
 
 def execute(macro, args):
-    if self.request.isSpiderAgent: # reduce bot cpu usage
+    if macro.request.isSpiderAgent: # reduce bot cpu usage
         return ''
     return SystemInfo(macro, args).render()