mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -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
|
@ -95,8 +95,8 @@ def main():
|
|||
# Try to spot where this has happened and fix it.
|
||||
for fragment in params['name']:
|
||||
if (
|
||||
re.search('^\d+(?:\.\d+)*', fragment)
|
||||
and packages and re.search('@[^,]*$', packages[-1])
|
||||
re.search(r'^\d+(?:\.\d+)*', fragment)
|
||||
and packages and re.search(r'@[^,]*$', packages[-1])
|
||||
):
|
||||
packages[-1] += ',' + fragment
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue