Skip to content

Commit

Permalink
Make regular expression string row to make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Oct 21, 2024
1 parent 3128293 commit e53a23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudlinux7to8/actions/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def __init__(self):
def _do_check(self) -> bool:
if not os.path.exists(self.AUTOINSTALLERRC_PATH):
return True
p = re.compile('^\s*SOURCE\s*=\s*https?://autoinstall-archives.plesk.com')
p = re.compile(r'^\s*SOURCE\s*=\s*https?://autoinstall-archives.plesk.com')
with open(self.AUTOINSTALLERRC_PATH) as f:
for line in f:
if p.search(line):
Expand Down

0 comments on commit e53a23b

Please sign in to comment.