Skip to content

Commit

Permalink
Address linter concern and fix possible bug
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Jul 24, 2023
1 parent abfc995 commit d0e8ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pbench/server/cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def make_cache_object(dir_path: Path, path: Path) -> CacheObject:
r_path = path.resolve(strict=True)
resolve_path = r_path.relative_to(dir_path)
except (FileNotFoundError, ValueError):
resolve_path = link_path
resolve_path = path
resolve_type = CacheType.OTHER
else:
if r_path.is_dir():
Expand Down

0 comments on commit d0e8ad4

Please sign in to comment.