diff --git a/src/rez/utils/filesystem.py b/src/rez/utils/filesystem.py index ff8683178..caa996116 100644 --- a/src/rez/utils/filesystem.py +++ b/src/rez/utils/filesystem.py @@ -28,6 +28,7 @@ is_windows = platform.system() == "Windows" + class TempDirs(object): """Tempdir manager. @@ -518,7 +519,6 @@ def canonical_path(path, platform=None): if platform is None: platform = platform_ - path = os.path.normpath(real_path(path)) if not platform.has_case_sensitive_filesystem: @@ -757,4 +757,3 @@ def real_path(path): return os.path.abspath(path) return os.path.realpath(path) -