diff options
author | Tobias Markmann <tm@ayena.de> | 2018-10-01 10:04:11 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2018-10-01 10:04:11 (GMT) |
commit | 78373f300882ebad10eda79eab7ee1e8a8d82b93 (patch) | |
tree | 41fe3f05990b79ee4d2c013f0d208c3d917171e8 /BuildTools/SCons/Tools | |
parent | abd5ca5d4960765f25da426c3dd20e2316d75b59 (diff) | |
download | swift-78373f300882ebad10eda79eab7ee1e8a8d82b93.zip swift-78373f300882ebad10eda79eab7ee1e8a8d82b93.tar.bz2 |
Change ur literals to r, as ur is unsupported in Python 3
r literal is supported by both Python 2 and Python 3.
Test-Information:
Builds on Windows 10 with Python 3 and VS 2015.
Change-Id: I2210a1ba01a4bf3c175634adeb067f1f939a7e61
Diffstat (limited to 'BuildTools/SCons/Tools')
-rw-r--r-- | BuildTools/SCons/Tools/WindowsBundle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BuildTools/SCons/Tools/WindowsBundle.py b/BuildTools/SCons/Tools/WindowsBundle.py index b0f7772..4d73fa3 100644 --- a/BuildTools/SCons/Tools/WindowsBundle.py +++ b/BuildTools/SCons/Tools/WindowsBundle.py @@ -35,3 +35,3 @@ def generate(env) : - p = re.compile(ur'"([^\"]*)" "([^\"]*)"') + p = re.compile(r'"([^\"]*)" "([^\"]*)"') @@ -99,3 +99,3 @@ def generate(env) : # handle core DLLs - qt_corelib_regex = re.compile(ur".*bin.*\\(.*)\.dll") + qt_corelib_regex = re.compile(r".*bin.*\\(.*)\.dll") @@ -113,3 +113,3 @@ def generate(env) : # handle plugins - qt_plugin_regex = re.compile(ur".*plugins.*\\(.*)\\(.*)\.dll") + qt_plugin_regex = re.compile(r".*plugins.*\\(.*)\\(.*)\.dll") for (src_path, target_path) in qtmappings: |