Skip to content

Commit 81a5394

Browse files
grizonnetmalexbruy
authored andcommittedMay 24, 2017
ENH: update log info when parsing otb apps
(cherry picked from commit bf7db72)
1 parent e6ca7f1 commit 81a5394

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎python/plugins/processing/algs/otb/maintenance/OTBHelper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def create_xml_descriptors():
650650
except:
651651
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
652652
else:
653-
logger.warning("%s is not in white list." % available_app)
653+
logger.warning("%s (custom app) is not in white list." % available_app)
654654

655655
else:
656656
if available_app in white_list and available_app not in black_list:
@@ -664,7 +664,8 @@ def create_xml_descriptors():
664664
get_automatic_ut_from_xml_description(the_root)
665665
except:
666666
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
667-
667+
else:
668+
logger.warning("%s (not custom app) is not in white list." % available_app)
668669
# except Exception, e:
669670
# logger.error(traceback.format_exc())
670671

0 commit comments

Comments
 (0)
Please sign in to comment.