mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fix invalid string escape sequences.
This commit is contained in:
parent
f9cd50411f
commit
e45c763b64
48 changed files with 77 additions and 77 deletions
|
@ -171,7 +171,7 @@ class CallbackModule(CallbackBase):
|
|||
duration = host_data.finish - task_data.start
|
||||
|
||||
if self._task_class == 'true':
|
||||
junit_classname = re.sub('\.yml:[0-9]+$', '', task_data.path)
|
||||
junit_classname = re.sub(r'\.yml:[0-9]+$', '', task_data.path)
|
||||
else:
|
||||
junit_classname = task_data.path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue