diff options
| author | Ben Woosley <[email protected]> | 2019-02-01 17:00:02 -0800 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2019-09-03 14:38:38 -0400 |
| commit | b21680baf5391a602b295b9d7d0ef66553661cb9 (patch) | |
| tree | 014dde0638aa584215f4855341606de65ed1fb89 /contrib/macdeploy/macdeployqtplus | |
| parent | Merge #16745: wallet: Translate all initErrors in CreateWalletFromFile (diff) | |
| download | discoin-b21680baf5391a602b295b9d7d0ef66553661cb9.tar.xz discoin-b21680baf5391a602b295b9d7d0ef66553661cb9.zip | |
test/contrib: Fix invalid escapes in regex strings
Flagged by flake8 v3.6.0, as W605, plus a few others identified
incidentally, e.g. 59ffecf66cf4d08c4b431e457b083878d66a3fd6.
Note that r"\n" matches to "\n" under re.match/search.
Diffstat (limited to 'contrib/macdeploy/macdeployqtplus')
| -rwxr-xr-x | contrib/macdeploy/macdeployqtplus | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 9da03e5b0..5374a6a38 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -765,8 +765,8 @@ if config.dmg is not None: output = runHDIUtil("attach", dmg_name + ".temp", readwrite=True, noverify=True, noautoopen=True, capture_stdout=True) except subprocess.CalledProcessError as e: sys.exit(e.returncode) - - m = re.search("/Volumes/(.+$)", output) + + m = re.search(r"/Volumes/(.+$)", output) disk_root = m.group(0) disk_name = m.group(1) |