Fix flake8 warnings
Change-Id: I1c1d65f5585833a9db9d1313933dc205b5890e08
diff --git a/tcp_tests/helpers/env_config.py b/tcp_tests/helpers/env_config.py
index 5dbc87d..b811030 100644
--- a/tcp_tests/helpers/env_config.py
+++ b/tcp_tests/helpers/env_config.py
@@ -150,7 +150,7 @@
:param path: string
:returns: key string, indexes list
"""
- pattern = re.compile("\[([0-9]*)\]")
+ pattern = re.compile(r"\[([0-9]*)\]")
# find all indexes of possible list object in path
indexes = (lambda x: [int(r) for r in pattern.findall(x)]
if pattern.search(x) else [])