mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-16 00:06:09 -05:00
ENH: update log info when parsing otb apps
This commit is contained in:
parent
82f2726d7f
commit
bf7db728f3
@ -652,7 +652,7 @@ def create_xml_descriptors():
|
|||||||
except:
|
except:
|
||||||
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
|
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
|
||||||
else:
|
else:
|
||||||
logger.warning("%s is not in white list." % available_app)
|
logger.warning("%s (custom app) is not in white list." % available_app)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if available_app in white_list and available_app not in black_list:
|
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)
|
get_automatic_ut_from_xml_description(the_root)
|
||||||
except:
|
except:
|
||||||
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
|
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:
|
# except Exception, e:
|
||||||
# logger.error(traceback.format_exc())
|
# logger.error(traceback.format_exc())
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user