Skip to content
Permalink
Browse files

ENH: update log info when parsing otb apps

  • Loading branch information
grizonnetm committed Aug 21, 2016
1 parent 82f2726 commit bf7db728f3ead5e748a1325f09b391d8072a547c
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/algs/otb/maintenance/OTBHelper.py
@@ -652,7 +652,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:
@@ -666,7 +666,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 bf7db72

Please sign in to comment.
You can’t perform that action at this time.