Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyasKallingal committed Jul 21, 2024
1 parent 3c7f78f commit 79ae197
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sky/utils/log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def create_and_symlink_log_dir(log_dir: str):
if os.path.islink(symlink_path):
os.remove(symlink_path)
else:
logger.warning(
'Failed to create symlink to latest logs at \'{symlink_path}\'. Please remove the existing file/directory.'
)
logger.warning((
'Failed to create symlink to latest logs at \'{symlink_path}\'.'
'Please remove the existing file/directory.'))
return
os.symlink(log_dir, symlink_path)

0 comments on commit 79ae197

Please sign in to comment.