Skip to content

Commit

Permalink
Use rez.deprecations
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso committed Nov 24, 2023
1 parent 0644e88 commit 5700f66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rez/vendor/version/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Copyright Contributors to the Rez Project


import warnings
import rez.deprecations

warnings.warn(
rez.deprecations.warn(
"module 'rez.vendor.version' is deprecated and will be removed in 3.0.0. Use 'rez.version' instead.",
DeprecationWarning,
rez.deprecations.RezDeprecationWarning,
stacklevel=2
)

0 comments on commit 5700f66

Please sign in to comment.