From d265f5328d63f316e4fc125a1fc033d2062af07c Mon Sep 17 00:00:00 2001 From: Brad Cowie Date: Thu, 19 Sep 2024 13:22:57 +1200 Subject: [PATCH] Fix SyntaxWarning: invalid escape sequence --- clib/clib_mininet_test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clib/clib_mininet_test_main.py b/clib/clib_mininet_test_main.py index c47f1741d..926eaa057 100755 --- a/clib/clib_mininet_test_main.py +++ b/clib/clib_mininet_test_main.py @@ -826,7 +826,7 @@ def run_tests( sys.exit(0) else: decoded_pcap_logs = [] - port_match_re = re.compile(".+\-([0-9]+)-of.cap") + port_match_re = re.compile(r".+\-([0-9]+)-of.cap") of_pcaps = glob.glob(os.path.join(os.path.join(root_tmpdir, "*"), "*of.cap")) for of_pcap in of_pcaps: port_match = port_match_re.match(of_pcap)