Skip to content

Commit b115ea6

Browse files
author
Rado Guzinski
committedJul 22, 2014
[Processing] Comment debuging statements in OTB which clutter up Processing log
1 parent f511bf9 commit b115ea6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎python/plugins/processing/algs/otb/OTBAlgorithm.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def processAlgorithm(self, progress):
340340
if not found:
341341
ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "Adapter for %s not found" % the_key)
342342

343-
frames = inspect.getouterframes(inspect.currentframe())[1:]
344-
for a_frame in frames:
345-
frame,filename,line_number,function_name,lines,index = a_frame
346-
ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index))
343+
#frames = inspect.getouterframes(inspect.currentframe())[1:]
344+
#for a_frame in frames:
345+
# frame,filename,line_number,function_name,lines,index = a_frame
346+
# ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index))
347347

348348
OTBUtils.executeOtb(commands, progress)

0 commit comments

Comments
 (0)
Please sign in to comment.