Skip to content

Commit

Permalink
chore: fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cfxegbert committed Oct 15, 2024
1 parent 7dba8a5 commit 2556eaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rez/utils/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

is_windows = platform.system() == "Windows"


class TempDirs(object):
"""Tempdir manager.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -757,4 +757,3 @@ def real_path(path):
return os.path.abspath(path)
return os.path.realpath(path)


0 comments on commit 2556eaa

Please sign in to comment.