From b90dfdab27e6f6ca8e0c61d341935368b7a0dcae Mon Sep 17 00:00:00 2001 From: Luc Touraille Date: Wed, 11 Sep 2024 15:05:46 +0200 Subject: [PATCH] Fix SyntaxWarning in rezconfig.py The \ in the string literal was generating the following warning every time the file was parsed: SyntaxWarning: invalid escape sequence '\ ' This commit uses a raw string literal to avoid interpretation of backslashes. Signed-off-by: Luc Touraille --- src/rez/rezconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rez/rezconfig.py b/src/rez/rezconfig.py index 1abd59f71..daad1343d 100644 --- a/src/rez/rezconfig.py +++ b/src/rez/rezconfig.py @@ -2,7 +2,7 @@ # Copyright Contributors to the Rez Project -""" +r""" Rez configuration settings. Do not change this file. Settings are determined in the following way (higher number means higher