From de2985df8478c3c6df81fbdd83ace7be056afd06 Mon Sep 17 00:00:00 2001 From: Ruckus-Ansible <52454757+sushma-alethea@users.noreply.github.com> Date: Fri, 24 Jan 2020 18:28:51 +0530 Subject: [PATCH] icx_vlan: Removed byte type regex in string matching (#66715) --- lib/ansible/modules/network/icx/icx_vlan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/icx/icx_vlan.py b/lib/ansible/modules/network/icx/icx_vlan.py index 1ffcb5368b6..cb2a83d800f 100644 --- a/lib/ansible/modules/network/icx/icx_vlan.py +++ b/lib/ansible/modules/network/icx/icx_vlan.py @@ -664,7 +664,7 @@ def map_config_to_obj(module): def check_fail(module, output): error = [ - re.compile(br"^error", re.I) + re.compile(r"^error", re.I) ] for x in output: for regex in error: