Skip to content

Commit

Permalink
Fix SyntaxWarning in rezconfig.py
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
touraill-adobe committed Sep 11, 2024
1 parent 6f5bcdb commit b90dfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rez/rezconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b90dfda

Please sign in to comment.