From e53a23bf38bb55c19442c4feba249f35da159682 Mon Sep 17 00:00:00 2001 From: Mikhail Sandakov Date: Mon, 21 Oct 2024 11:31:30 +0300 Subject: [PATCH] Make regular expression string row to make flake8 happy --- cloudlinux7to8/actions/packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudlinux7to8/actions/packages.py b/cloudlinux7to8/actions/packages.py index d13afef..1767beb 100644 --- a/cloudlinux7to8/actions/packages.py +++ b/cloudlinux7to8/actions/packages.py @@ -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):