diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-28 15:42:42 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-29 22:06:11 +0200 |
commit | da34bea893b3b309800e0f03021a99ee58c599d6 (patch) | |
tree | fe58634de2ad20678a25292571f5bd2cfdb64847 /mesonbuild/backend/backends.py | |
parent | 4e31ca3abeecf0591cccc7052da34c2735759030 (diff) | |
download | meson-da34bea893b3b309800e0f03021a99ee58c599d6.zip meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.gz meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.bz2 |
pep8 py37
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 9f3f5d6..a0326f3 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -798,7 +798,7 @@ class Backend: def replace_outputs(self, args, private_dir, output_list): newargs = [] - regex = re.compile('@OUTPUT(\d+)@') + regex = re.compile(r'@OUTPUT(\d+)@') for arg in args: m = regex.search(arg) while m is not None: @@ -938,7 +938,7 @@ class Backend: dfilename = os.path.join(outdir, target.depfile) i = i.replace('@DEPFILE@', dfilename) elif '@PRIVATE_OUTDIR_' in i: - match = re.search('@PRIVATE_OUTDIR_(ABS_)?([^/\s*]*)@', i) + match = re.search(r'@PRIVATE_OUTDIR_(ABS_)?([^/\s*]*)@', i) if not match: msg = 'Custom target {!r} has an invalid argument {!r}' \ ''.format(target.name, i) |