From 97b180d30ad6fc139f6c6ab3695093ea207aad24 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Wed, 8 Jan 2020 02:38:33 +0100 Subject: [PATCH] do not try to run online checks if there are no roslaunch uris (#1848) --- utilities/roswtf/src/roswtf/roslaunchwtf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/roswtf/src/roswtf/roslaunchwtf.py b/utilities/roswtf/src/roswtf/roslaunchwtf.py index 92cf89274a..45265dcccd 100644 --- a/utilities/roswtf/src/roswtf/roslaunchwtf.py +++ b/utilities/roswtf/src/roswtf/roslaunchwtf.py @@ -293,6 +293,8 @@ def _load_online_ctx(ctx): def wtf_check_online(ctx): _load_online_ctx(ctx) + if not ctx.roslaunch_uris: + return for r in online_roslaunch_warnings: warning_rule(r, r[0](ctx), ctx) for r in online_roslaunch_errors: