mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
[Processing] Comment debuging statements in OTB which clutter up Processing log
This commit is contained in:
parent
f511bf95b7
commit
b115ea6ee1
@ -340,9 +340,9 @@ class OTBAlgorithm(GeoAlgorithm):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user