From d05ffe2bf6f1305cd0470e040b96f252037abf58 Mon Sep 17 00:00:00 2001 From: Andrei Tsaregorodtsev Date: Sat, 21 Apr 2012 22:59:15 +0200 Subject: [PATCH] BUGFIX: no self.section when printing log message --- TransformationSystem/Agent/TransformationCleaningAgent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TransformationSystem/Agent/TransformationCleaningAgent.py b/TransformationSystem/Agent/TransformationCleaningAgent.py index e504cbb346b..babb06d2717 100644 --- a/TransformationSystem/Agent/TransformationCleaningAgent.py +++ b/TransformationSystem/Agent/TransformationCleaningAgent.py @@ -54,7 +54,7 @@ def execute( self ): """ self.enableFlag = self.am_getOption( 'EnableFlag', 'True' ) if not self.enableFlag == 'True': - self.log.info( 'TransformationCleaningAgent is disabled by configuration option %s/EnableFlag' % ( self.section ) ) + self.log.info( 'TransformationCleaningAgent is disabled by configuration option EnableFlag' ) return S_OK( 'Disabled via CS flag' ) # Obtain the transformations in Cleaning status and remove any mention of the jobs/files