Skip to content

Commit bf7db72

Browse files
committedAug 21, 2016
ENH: update log info when parsing otb apps
1 parent 82f2726 commit bf7db72

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
@@ -652,7 +652,7 @@ def create_xml_descriptors():
652652
except:
653653
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
654654
else:
655-
logger.warning("%s is not in white list." % available_app)
655+
logger.warning("%s (custom app) is not in white list." % available_app)
656656

657657
else:
658658
if available_app in white_list and available_app not in black_list:
@@ -666,7 +666,8 @@ def create_xml_descriptors():
666666
get_automatic_ut_from_xml_description(the_root)
667667
except:
668668
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
669-
669+
else:
670+
logger.warning("%s (not custom app) is not in white list." % available_app)
670671
# except Exception, e:
671672
# logger.error(traceback.format_exc())
672673

0 commit comments

Comments
 (0)
Please sign in to comment.