Skip to content
Permalink
Browse files
ENH: update log info when parsing otb apps
(cherry picked from commit bf7db72)
  • Loading branch information
grizonnetm authored and alexbruy committed May 24, 2017
1 parent e6ca7f1 commit 81a53945710ee1bd0e01c90c20665c8b7a1b4135
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/algs/otb/maintenance/OTBHelper.py
@@ -650,7 +650,7 @@ def create_xml_descriptors():
except:
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
else:
logger.warning("%s is not in white list." % available_app)
logger.warning("%s (custom app) is not in white list." % available_app)

else:
if available_app in white_list and available_app not in black_list:
@@ -664,7 +664,8 @@ def create_xml_descriptors():
get_automatic_ut_from_xml_description(the_root)
except:
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))

else:
logger.warning("%s (not custom app) is not in white list." % available_app)
# except Exception, e:
# logger.error(traceback.format_exc())

0 comments on commit 81a5394

Please sign in to comment.