From 2556eaa94a50b53f2dea92a12c943c1230a3ed99 Mon Sep 17 00:00:00 2001 From: Robert Minsk Date: Mon, 14 Oct 2024 17:55:11 -0700 Subject: [PATCH] chore: fix flake8 errors --- src/rez/utils/filesystem.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -