Skip to content

Commit

Permalink
Fix Python 3.12: SyntaxWarning: invalid escape sequence '\s' (closes
Browse files Browse the repository at this point in the history
  • Loading branch information
u1735067 authored Jun 3, 2024
1 parent a64698b commit bfc58a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/transport/tty.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Terminal(object):
"(?P<badpasswd>ogin incorrect)",
r"(?P<netconf_closed><!-- session end at .*-->\s*)",
r"(?P<shell>%|#|(~\$)\s*$)",
'(?P<cli>[^\\-"]>\s*$)',
r'(?P<cli>[^\-"]>\s*$)',
r"(?P<option>Enter your option:\s*$)",
"(?P<hotkey>connection: <CTRL>Z)",
]
Expand Down

0 comments on commit bfc58a9

Please sign in to comment.