mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
Fix invalid string escape sequences.
This commit is contained in:
parent
6ac9d05de6
commit
9735a70059
49 changed files with 81 additions and 81 deletions
|
@ -179,7 +179,7 @@ def main():
|
|||
module.fail_json(msg="%s needs a key parameter" % state)
|
||||
|
||||
# All xattr must begin in user namespace
|
||||
if key is not None and not re.match('^user\.', key):
|
||||
if key is not None and not re.match(r'^user\.', key):
|
||||
key = 'user.%s' % key
|
||||
|
||||
if (state == 'present' or value is not None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue