aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-30 10:28:08 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-30 12:24:05 +0000
commitc47e2557e2c7b27258c12cfc1b0cb1aabeebcdc6 (patch)
tree68e529cfc276d21f79444080c61b561524df3a68 /build_scripts/main.py
parent899b3cfed8e1c3513f8d3001c53b0bb0cc1af548 (diff)
Build scripts: Fix warnings about invalid escape sequences
Fix: setup.py:243: DeprecationWarning: invalid escape sequence \O """ build_scripts\main.py:143: DeprecationWarning: invalid escape sequence \d pattern = "Programming Language :: Python :: (\d+)\.(\d+)" Change-Id: Id9574077d6ad82a5a6852d8c6e02e931f8a079de Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 50f751ca..fdc5f4a0 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -140,7 +140,7 @@ def check_allowed_python_version():
"""
import re
- pattern = "Programming Language :: Python :: (\d+)\.(\d+)"
+ pattern = r'Programming Language :: Python :: (\d+)\.(\d+)'
supported = []
for line in config.python_version_classifiers: