diff options
author | Matt Clay <matt@mystile.com> | 2017-11-20 19:08:30 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2017-11-21 10:03:34 -0800 |
commit | e45c763b646e0609fb9c8d8b8cdf9c200985c313 (patch) | |
tree | 0d6ef485414a21b38a943f5836193bc109f3d85d /lib/ansible/inventory | |
parent | f9cd50411fb8bb6504639bc817403d0cf8f02d24 (diff) | |
download | ansible-e45c763b646e0609fb9c8d8b8cdf9c200985c313.tar.gz |
Fix invalid string escape sequences.
Diffstat (limited to 'lib/ansible/inventory')
-rw-r--r-- | lib/ansible/inventory/manager.py | 2 |
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] |