diff --git a/lib/ClusterShell/Worker/Rsh.py b/lib/ClusterShell/Worker/Rsh.py index 9ea820e4..2d5597fd 100644 --- a/lib/ClusterShell/Worker/Rsh.py +++ b/lib/ClusterShell/Worker/Rsh.py @@ -74,7 +74,7 @@ def _build_cmd(self): def _on_nodeset_msgline(self, nodes, msg, sname): """Override _on_nodeset_msgline to parse magic return code""" - match = re.search("^XXRETCODE: (\d+)$", msg.decode()) + match = re.search(r"^XXRETCODE: (\d+)$", msg.decode()) if match: self.rsh_rc = int(match.group(1)) else: