From c3cf2394c23959193fdc2ab69510ab0dc7cf10a1 Mon Sep 17 00:00:00 2001 From: Christophe Date: Thu, 31 Jan 2019 18:57:13 -0500 Subject: [PATCH] roslaunch/xmlloader: use continue instead of pass for args_only (#1540) --- tools/roslaunch/src/roslaunch/xmlloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/roslaunch/src/roslaunch/xmlloader.py b/tools/roslaunch/src/roslaunch/xmlloader.py index 0db49aee50..806f0a825d 100644 --- a/tools/roslaunch/src/roslaunch/xmlloader.py +++ b/tools/roslaunch/src/roslaunch/xmlloader.py @@ -681,7 +681,7 @@ def _recurse_load(self, ros_config, tags, context, default_machine, is_core, ver self._arg_tag(tag, context, ros_config, verbose=verbose) elif self.args_only: # do not load other tags - pass + continue elif name == 'group': if ifunless_test(self, tag, context): self._check_attrs(tag, context, ros_config, XmlLoader.GROUP_ATTRS)