summaryrefslogtreecommitdiff
path: root/lib/ansible/inventory
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-11-20 19:08:30 -0800
committerMatt Clay <matt@mystile.com>2017-11-21 10:03:34 -0800
commite45c763b646e0609fb9c8d8b8cdf9c200985c313 (patch)
tree0d6ef485414a21b38a943f5836193bc109f3d85d /lib/ansible/inventory
parentf9cd50411fb8bb6504639bc817403d0cf8f02d24 (diff)
downloadansible-e45c763b646e0609fb9c8d8b8cdf9c200985c313.tar.gz
Fix invalid string escape sequences.
Diffstat (limited to 'lib/ansible/inventory')
-rw-r--r--lib/ansible/inventory/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/inventory/manager.py b/lib/ansible/inventory/manager.py
index aab983c27d..caac03a68d 100644
--- a/lib/ansible/inventory/manager.py
+++ b/lib/ansible/inventory/manager.py
@@ -39,7 +39,7 @@ except ImportError:
from ansible.utils.display import Display
display = Display()
-IGNORED_ALWAYS = [b"^\.", b"^host_vars$", b"^group_vars$", b"^vars_plugins$"]
+IGNORED_ALWAYS = [br"^\.", b"^host_vars$", b"^group_vars$", b"^vars_plugins$"]
IGNORED_PATTERNS = [to_bytes(x) for x in C.INVENTORY_IGNORE_PATTERNS]
IGNORED_EXTS = [b'%s$' % to_bytes(re.escape(x)) for x in C.INVENTORY_IGNORE_EXTS]