Skip to content

Commit

Permalink
ENH: update log info when parsing otb apps
Browse files Browse the repository at this point in the history
(cherry picked from commit bf7db72)
  • Loading branch information
grizonnetm authored and alexbruy committed May 24, 2017
1 parent e6ca7f1 commit 81a5394
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/algs/otb/maintenance/OTBHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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())

Expand Down

0 comments on commit 81a5394

Please sign in to comment.