Revert "Lint: W605 invalid escape sequence '\$'"

This reverts commit 76b1cafdcc.
This commit is contained in:
2020-11-07 17:38:03 -05:00
parent d37e5a0c0b
commit f33398458e
5 changed files with 11 additions and 11 deletions

View File

@ -74,7 +74,7 @@ def list_ova(limit, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*[$]', limit):
if not re.match('.*\$', limit):
limit = limit + '%'
else:
limit = limit[:-1]

View File

@ -110,7 +110,7 @@ def list_template(limit, table, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*[$]', limit):
if not re.match('.*\$', limit):
limit = limit + '%'
else:
limit = limit[:-1]
@ -610,7 +610,7 @@ def list_userdata(limit, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*[$]', limit):
if not re.match('.*\$', limit):
limit = limit + '%'
else:
limit = limit[:-1]
@ -705,7 +705,7 @@ def list_script(limit, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*[$]', limit):
if not re.match('.*\$', limit):
limit = limit + '%'
else:
limit = limit[:-1]
@ -800,7 +800,7 @@ def list_profile(limit, is_fuzzy=True):
limit = '%' + limit
else:
limit = limit[1:]
if not re.match('.*[$]', limit):
if not re.match('.*\$', limit):
limit = limit + '%'
else:
limit = limit[:-1]