From b115ea6ee14ee9f1ec28ee80844c70ea21fe4dae Mon Sep 17 00:00:00 2001 From: Rado Guzinski Date: Tue, 22 Jul 2014 11:24:11 +0200 Subject: [PATCH] [Processing] Comment debuging statements in OTB which clutter up Processing log --- python/plugins/processing/algs/otb/OTBAlgorithm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/plugins/processing/algs/otb/OTBAlgorithm.py b/python/plugins/processing/algs/otb/OTBAlgorithm.py index 43ed54ed97c2..342107fb3973 100644 --- a/python/plugins/processing/algs/otb/OTBAlgorithm.py +++ b/python/plugins/processing/algs/otb/OTBAlgorithm.py @@ -340,9 +340,9 @@ def processAlgorithm(self, progress): if not found: ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "Adapter for %s not found" % the_key) - frames = inspect.getouterframes(inspect.currentframe())[1:] - for a_frame in frames: - frame,filename,line_number,function_name,lines,index = a_frame - ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index)) + #frames = inspect.getouterframes(inspect.currentframe())[1:] + #for a_frame in frames: + # frame,filename,line_number,function_name,lines,index = a_frame + # ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index)) OTBUtils.executeOtb(commands, progress)